   // termsAccepted = 0;
   //alert('hi poeple...nice to meet you here :-)');
    //alert('you are now at Phentramin-Orderpage \nthe the non-prescription weight-loss Alternative to Phentermine !');
/////////////////////////////////////////////////////////////////////////////////
function openWin(url,w,h,status,scroll,winName) 
/////////////////////////////////////////////////////////////////////////////////      
{
			rndVal	= Math.round(Math.random()*100000000);

        if (!scroll) {scroll="no";}
        if (!status) {status="no";}
        if (!winName){winName = "winName"+rndVal;}
        
        thisWin	= new Object();
        thisWin.url    = url;
        thisWin.width  = w;
        thisWin.height = h;
        thisWin.name   = winName;
        var attr = "status="+status+",scrollbars="+scroll+",resize=yes,width="+thisWin.width+",height="+thisWin.height;
        
        thisWin.win = window.open(thisWin.url, thisWin.name, attr);
}//end of func openWin   

  
  
////////////////////////////////////////////////////////////////////////////////    
function check_out(thisLink)
////////////////////////////////////////////////////////////////////////////////    
{
	 accepted	= false;
	 accepted 	= document.policyForm.acceptPolicy.status;
		 
	 
	if (accepted) 
			{document.location.href = thisLink;}
	else
			{
				
				alert('Please check the "Yes, I agree" checkbox on the order-page\nin acceptance of our Policies to order the Product.\nThank you.')
				thisUrl = 'tc.htm';
				openWin(thisUrl,800,600,'no','yes','policies') ;
			}
    
}//endof func