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);
}
 


    if (document.images) {

	t1on = new Image;	t1on.src = "http://www.essaydue.com/images/on1.gif";
	t2on = new Image;	t2on.src = "http://www.essaydue.com/images/on2.gif";
	t3on = new Image;	t3on.src = "http://www.essaydue.com/images/on3.gif";
	t4on = new Image;	t4on.src = "http://www.essaydue.com/images/on4.gif";

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

	tit = new Image;	tit.src = "http://www.essaydue.com/images/t1.gif";
	tit1 = new Image;	tit1.src = "http://www.essaydue.com/images/t1.gif";
	tit2 = new Image;	tit2.src = "http://www.essaydue.com/images/t2.gif";
	tit3 = new Image;	tit3.src = "http://www.essaydue.com/images/t3.gif";
	tit4 = new Image;	tit4.src = "http://www.essaydue.com/images/t4.gif";

	l = new Image;		l.src = "http://www.essaydue.com/images/rt.gif";
	lt1 = new Image;	lt1.src = "http://www.essaydue.com/images/rt1.gif";
	lt2 = new Image;	lt2.src = "http://www.essaydue.com/images/rt2.gif";
	lt3 = new Image;	lt3.src = "http://www.essaydue.com/images/rt3.gif";
	lt4 = new Image;	lt4.src = "http://www.essaydue.com/images/rt4.gif";

    }

    function active(imgName) {
	if (document.images) {
	imgOn = eval(imgName + "on.src");
	document [imgName].src = imgOn; 
	imgOn = eval("l" + imgName + ".src");
	document ["line"].src = imgOn; 
	imgOn = eval("ti" + imgName + ".src");
	document ["title"].src = imgOn; }
    }

    function passive(imgName) {
	if (document.images) {
	imgOff = eval(imgName + "off.src");
	document [imgName].src = imgOff; 
	imgOn = eval("l.src");
	document ["line"].src = imgOn; 
	imgOn = eval("tit.src");
	document ["title"].src = imgOn; }
    }



	var exit=true;
	function out()
	{
		if (exit)
window.open('http://www.essaydue.com/email.shtml','wnftp',"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=375,height=215");
	}





function openPPDetailWindow(paper_id) {
  window.open('https://www.secureonlineorder.net/tpeservices.com/?do=PshowPaperDetial&TYPE=P&Paper_ID='+paper_id+'&nomenu=TRUE','paper','width=480,height=360,scrollbars=yes');
}
function openFirst100WordWindow(paper_id,action) { 
	window.open('https://www.secureonlineorder.net/tpeservices.com/?do=PshowFirstPara&Paper_ID='+paper_id+'&nomenu=false&action='+action+'&SiteFrom=essaydue.com','first100word','width=650,height=400,scrollbars=yes');
}
function addToCart(paper_id) {
	window.location="https://www.secureonlineorder.net/tpeservices.com/?do=PshowSearch&keywords=Globalization+of+Hybrid+Cultures%09&x=9&y=12&SiteFrom=essaydue.com&PL_ID="+paper_id+"";
}
function dowanloadPaper(paper_id) {
	window.location="https://www.secureonlineorder.net/tpeservices.com/action_exe.php?do=CdoFreePrewrittenDown&PAPER_ID="+paper_id+"&SiteFrom=essaydue.com";
}
function dowanloadCustomerPrePaper(paper_id) {
	window.open('https://www.secureonlineorder.net/tpeservices.com/action_exe.php?do=CshowCustPaperDownloadConfirm&PAPER_ID='+paper_id+'&SiteFrom=essaydue.com','prepaperdownloadconfirm','width=450,height=300,scrollbars=no');
}

