function popUpAdvantages(url) 
{
 var width  = 990;
 var height = 820;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
             params += ', top='+top+', left='+left;
             params += ', directories=no';
             params += ', location=no';
             params += ', menubar=no';
             params += ', resizable=yes';
             params += ', scrollbars=yes';
             params += ', status=no';
             params += ', toolbar=no';
             newwin=window.open(url,'windowname', params);
 if (window.focus) {newwin.focus()}
 return false
}

function popUp2(url) 
{
 var width  = 700;
 var height = 740;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
 	 params += ', top='+top+', left='+left;
  	 params += ', directories=no';
  	 params += ', location=no';
  	 params += ', menubar=no';
 	 params += ', resizable=yes';
 	 params += ', scrollbars=yes';
  	 params += ', status=no';
  	 params += ', toolbar=no';
  	 newwin=window.open(url,'windowname', params);
 if (window.focus) {newwin.focus()}
 return false
}


function popUp4(url) 
{
 var width  = 860;
 var height = 740;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
             params += ', top='+top+', left='+left;
             params += ', directories=no';
             params += ', location=no';
             params += ', menubar=no';
             params += ', resizable=yes';
             params += ', scrollbars=yes';
             params += ', status=no';
             params += ', toolbar=no';
             newwin=window.open(url,'windowname', params);
 if (window.focus) {newwin.focus()}
 return false
}


function popUp7(url) 
{
 var width  = 700;
 var height = 300;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
 	 params += ', top='+top+', left='+left;
  	 params += ', directories=no';
  	 params += ', location=no';
  	 params += ', menubar=no';
 	 params += ', resizable=yes';
 	 params += ', scrollbars=yes';
  	 params += ', status=no';
  	 params += ', toolbar=no';
  	 newwin=window.open(url,'windowname', params);
 if (window.focus) {newwin.focus()}
 return false
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



function openPopUpWindow() {
  popupWin = window.open('http://www.expresspapers.com/contact_us_form.php','mywindow','width=500,height=360');
}

    if (document.images) {
	t1on = new Image;	t1on.src = "http://www.expresspapers.com/images/on1.jpg";
	t2on = new Image;	t2on.src = "http://www.expresspapers.com/images/on2.jpg";
	t3on = new Image;	t3on.src = "http://www.expresspapers.com/images/on3.jpg";
	t4on = new Image;	t4on.src = "http://www.expresspapers.com/images/on4.gif";

	t1off = new Image;	t1off.src = "http://www.expresspapers.com/images/off1.jpg";
	t2off = new Image;	t2off.src = "http://www.expresspapers.com/images/off2.jpg";
	t3off = new Image;	t3off.src = "http://www.expresspapers.com/images/off3.jpg";
	t4off = new Image;	t4off.src = "http://www.expresspapers.com/images/off4.gif";
    }

    function active(imgName) {
	if (document.images) {
	imgOn = eval(imgName + "on.src");
	document [imgName].src = imgOn; }
    }
    function passive(imgName) {
	if (document.images) {
	imgOff = eval(imgName + "off.src");
	document [imgName].src = imgOff; }
    }

function launch(newURL, newName, newFeatures, orgName) {
  var remote = open(newURL, newName, newFeatures);
  if (remote.opener == null)
    remote.opener = window;
  remote.opener.name = orgName;
  return remote;
}

function showArticle(page) {
        var newsPage;
        newsPage = window.open(page,"login","location=no,menubar=no,toolbar=no,status=no,resizable=yes,width=750,height=650,scrollbars=no");
        newsPage.focus();
}

  function openHelpWindow(url) { 
    window.open(url,'help','width=400,height=200,scrollbars=yes');
  }

