/*	var exit=true;
	function out()
	{
	if (exit)
window.open('http://www.abcpapers.com/quiz.shtml','wnftp',"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=300,height=362");
	 }
 */
 
 
function popUp4(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 popUp2(url) 
{
 var width  = 990;
 var height = 710;
 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 openpdfWindow() {
  popuppdfWin = window.open('http://www.thepaperexperts.com/why-order-our-essay-writing-service.pdf','mywindow','width=800,height=600');
}
function openPopUpQuestionWindow() {
  popupWin = window.open('http://www.thepaperexperts.com/free_thesis_dissertation_question_form.php','mywindow','width=700,height=240');
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
 




function setCookie (name, value, expires) {
   if (!expires) expires = new Date();
	document.cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() +  "; path=/"; 
    } 
   function parseVars() {
	var qString = unescape(top.location);
	return qString;
    }	



function openPopUpWindow() {
  popupWin = window.open('http://www.abcpapers.com/contact_us_form.php','mywindow','width=500,height=360');
}


function quoteWindow()
{
window.open('https://www.secureonlineorder.net/TechnovateLeadSystem.com/universal_quote.php?website=TPE','myquoterwindow','width=620,height=580');
}



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();
}





onunload=out
    var expdate = new Date ();
    expdate.setTime (expdate.getTime() + (1000 * 60 * 60 * 24 * 31));
    var _url = parseVars();
    var _len = _url.length;
    var _hsh = _url.indexOf("#");
    if (_hsh == -1)
	var _ida = "index";
    else		
    	_ida = _url.substring(_hsh+1,_len);
    setCookie ("_name", _ida, expdate);


