// layer home browser function

function domlay(id,lax,lay,content) {
// Set horizontal position	
if (lax){
	if (document.layers){document.layers[''+id+''].left = lax}
	else if (document.all){document.all[''+id+''].style.left=lax}
	else if (document.getElementById){document.getElementById(''+id+'').style.left=lax+"px"}
	}
// Set vertical position
if (lay){
	if (document.layers){document.layers[''+id+''].top = lay}
	else if (document.all){document.all[''+id+''].style.top=lay}
	else if (document.getElementById){document.getElementById(''+id+'').style.top=lay+"px"}
	}
}


// navigation rollovers

if (document.images)
{
	serviceson = new Image;
	serviceson.src = "../images/nav_services_over.gif";
	servicesoff = new Image;
	servicesoff.src = "../images/nav_services.gif";
	
	solutionson = new Image;
	solutionson.src = "../images/nav_solutions_over.gif";
	solutionsoff = new Image;
	solutionsoff.src = "../images/nav_solutions.gif";
	
	media_centeron = new Image;
	media_centeron.src = "../images/nav_media_center_over.gif";
	media_centeroff = new Image;
	media_centeroff.src = "../images/nav_media_center.gif";
	
	technologyon = new Image;
	technologyon.src = "../images/nav_technology_over.gif";
	technologyoff = new Image;
	technologyoff.src = "../images/nav_technology.gif";
	
	about_uson = new Image;
	about_uson.src = "../images/nav_about_us_over.gif";
	about_usoff = new Image;
	about_usoff.src = "../images/nav_about_us.gif";

	}
	  
function img_act(imgName)
{
    if (document.images)
    {
        imgOn = eval(imgName + "on.src");
        document [imgName].src = imgOn;
    }
}

function img_inact(imgName)
{
    if (document.images)
    {
        imgOff = eval(imgName + "off.src");
        document [imgName].src = imgOff;
    }
}

function message (text)    
{
    if (document.images)
    {
        window.status = text;
    }
}

function remove ()    
{
    if (document.images)
    {
    window.status = "PFSC";
    }
}

// Opens new specific sized window
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=no,scrollbars=yes,menubar=yes' );
}
function displayContactWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=yes,scrollbars=no,menubar=no' );
}