//________________
name = 'unisys';



//________________
var navTitle;
var backText;
var backPath;



//____________________start POPUP contact us WINDOW
var newWindow

function newContactUnisysWindow()
{
	newWindow = window.open("","Contact","toolbar=false,scrollbars=true,location=false,resizable=false,status=true, screenX=10,screenY=10,width=500,height=500") 
	newWindow.focus()
}

//____________________start POPUP case study WINDOW
var newWindow

function newCaseStudyWindow() 
{
  newWindow = window.open("","CaseStudy","scrollbars=yes,resizable=no,width=517,height=517") 
  newWindow.focus()
}

// ___________________start MOUSE OVER AND OUT FUCTION for rollovers

function msover_Image(imgName) 
{
  if (true)
  {
document.images[imgName].src = "/corporate/images/admin/misc/"+imgName + "_on.gif";
  }
}

function msout_Image(imgName) 
{
  if (true)
  {
    document.images[imgName].src = "/corporate/images/admin/misc/"+imgName + "_out.gif";
  }
}

//_________________SOL finder Window
		function sol_popupWindow(sol_url)
		{
		window.name = 'mainWindow';
		var popup=window.open(sol_url,'popup','toolbar=no,resizable=yes,scrollbars=no,width=300,height=420');
		}


//___POP-UP SCRIPT FOR ALL SIDEBARS (features)

 
function popwin(theURL,winName,features) 
{
      newWindow = window.open(theURL,winName,features);
      newWindow.focus();
} 

<!-- POP-UP WINDOW FOR E-MAIL NEWS-->
function makeEmailWindow(path)
{
  makeNewEmailWindow = 
window.open(path,'emailArticle','scrollbars=no,resizable=no,left=180,top=150,screenX=180,screenY=150,alwaysRaised=yes,width=330,height=360')
  makeNewEmailWindow.focus()
}

//______END POP_UP FOR FEATURES




//______INVESTORS DISCLAIMER POP-UP

//function to set cookie
function setCookie(name,value){
var expire = new Date();
expire.setTime(expire.getTime() + 7*24*60*60*1000);
var expDate = expire.toGMTString();

document.cookie=name+"="+value+";"+" expires="+expDate;
}

//function to get cookie
function getCookie(Name){
var search = Name+"=";
if(document.cookie.length>0){
offset=document.cookie.indexOf(search);
if(offset!=-1){
offset+=search.length;
end=document.cookie.indexOf(";",offset);
	if(end==-1)
	end=document.cookie.length;
return document.cookie.substring(offset,end);
}
}
}

//check to see if they have been here
//if not throw the popup

function disclaimerpop(){
var invhome = getCookie("investhome");

if(invhome==null){

window.open('/eprise/main/corporate/about__unisys/investors/disclaimer.htm','','width=270,height=300,scrollbars=yes,resizable=yes');

setCookie("investhome","yes");
}
}
//______END INVESTORS DISCLAIMER POP-UP
var loadImgCount = 0;

function loadImgCache(outImgPath)
{
	var outImg = outImgPath.substr(outImgPath.lastIndexOf("/")+1)
	var onImg = outImg.replace(".gif","_on.gif");
	var onImgPath = outImgPath.substring(0,outImgPath.lastIndexOf("/"));
	onImgPath = (onImgPath.substring(0,onImgPath.lastIndexOf("/")+1) + "admin_only/" + onImg);

	//this function substitutes for Unisys Cache on load. Its called from the Links Object  JWL 2.27.02
	//will only cache if there is a mouse over
	//need to make array for more than one
	var feature1_out = new Array()
	feature1_out[loadImgCount] = new Image();
	feature1_out[loadImgCount].src = outImgPath;

	var feature1_on = new Array()
	feature1_on[loadImgCount] = new Image();
	feature1_on[loadImgCount].src = onImgPath;

	loadImgCount++

}

function msoverFeature(outImgPath) 
{
	//was in Unisys supplied feature.js moved to a block on common.js
	//had to manipulate the Unisys code to accept a dynamic path in the function var --JWL 2.27.02

	var outImg = outImgPath.substr(outImgPath.lastIndexOf("/")+1)
	var onImg = outImg.replace(".gif","_on.gif");
	var onImgPath = outImgPath.substring(0,outImgPath.lastIndexOf("/"));
	onImgPath = (onImgPath.substring(0,onImgPath.lastIndexOf("/")+1) + "admin_only/" + onImg);

	feature_on = new Image();
	feature_on.src = onImgPath;


	//checks for mouse over img
	//fileSize works for IE, height for Netscape	
	if (feature_on.fileSize)
	{
		if (feature_on.fileSize > 0) 
		{
			document.images[outImgPath].src = onImgPath;
		}
	}
	else
	{
		if (feature_on.height > 0)	
		{
			document.images[outImgPath].src = onImgPath;
		}
	}	
}


function msoutFeature(outImgPath) 
{
	//was in Unisys supplied feature.js moved to a block on common.js
	//had to manipulate the Unisys code to accept a dynamic path in the function var --JWL 2.27.02
	
	//checks for mouse over img
	feature_out = new Image();
	feature_out.src = outImgPath;

	//checks for mouse over img
	//fileSize works for IE, height for Netscape	
	if (feature_out.fileSize)
	{
		if (feature_out.fileSize > 0) 
		{
			document.images[outImgPath].src = outImgPath;
		}
	}
	else
	{
		if (feature_out.height > 0)	
		{
			document.images[outImgPath].src = outImgPath;
		}
	}	

}



var newWindow

function makeNewWindow() 
{
  newWindow = window.open("","newWindow","scrollbars=no,resizable=no,width=500,height=435") 
  newWindow.focus()
}


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

//*************************************************** copyright YEAR
<!--
var today = new Date();
var Year = takeYear(today);
function takeYear(theDate)
{
	x = theDate.getYear();
	var y = x % 100;
	y += (y < 38) ? 2000 : 1900;
	return y;
}
//-->