function quoteWindow()
{
window.open('https://www.secureonlineorder.net/TechnovateLeadSystem.com/universal_quote.php?website=TPE','myquoterwindow','width=620,height=580');
}


    function active(imgName,dn) {
	if (document.images) {
	imgOn = eval(imgName + "on.src");
	document [dn+imgName].src = imgOn; }
    }

    function passive(imgName,dn) {
	if (document.images) {
	imgOff = eval(imgName + "off.src");
	document [dn+imgName].src = imgOff; }
    }




function active(imgName, dn) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}
function passive(imgName, dn) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}


if (document.images) {           
            buttonorderpon = new Image();      
            buttonorderpon.src = "http://thepaperexperts.com/images/TPE-Button-Purchase-on.gif";

            buttonorderpoff = new Image(); 
            buttonorderpoff.src = "http://thepaperexperts.com/images/TPE-Button-Purchase-off.gif";        
}






function MM_openBrWindow(theURL,winName,features)
{ //v2.0
  window.open(theURL,winName,features);
}





function openPopUpQuestionWindow() {
  popupWin = window.open('/free_thesis_dissertation_question_form.php','mywindow','width=700,height=240');
}

function openPopUpWindow() {
  popupWin = window.open('/contact_us_form.php','mywindow','width=500,height=400');
}






function popUp1(url) 
{
 var width  = 550;
 var height = 450;
 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 popUp3(url) 
{
 var width  = 550;
 var height = 600;
 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 popUp5(url) 
{
 var width  = 900;
 var height = 900;
 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 popUp6(url) 
{
 var width  = 600;
 var height = 680;
 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
}

