function profile(id)
{
	NLeft = Math.round(screen.width/2 - 320);
	NTop = Math.round(screen.height/2 - 280);
   	var win2;
	win2 = window.open('/cgi-bin/pp_profile.cgi?id='+id,"Preliminary_Design", "menubar=no,status=yes,toolbar=no,resizable=no,scrollbars=yes,width=620,height=481,left=" + NLeft + ",top=" + NTop);
	win2.focus();
}
function contactnow()
{
	NLeft = Math.round(screen.width/2 - 300);
	NTop = Math.round(screen.height/2 - 280);
   	var win2;
	win2 = window.open("/contact_now.html","Preliminary_Design", "menubar=no,status=yes,toolbar=no,resizable=no,width=620,height=481,left=" + NLeft + ",top=" + NTop);
	win2.focus();
}
function buysubscription()
{
	NLeft = Math.round(screen.width/2 - 300);
	NTop = Math.round(screen.height/2 - 280);
   	var win2;
	win2 = window.open("/buy_subscription.html","Preliminary_Design", "menubar=no,status=yes,toolbar=no,scrollbars=yes,resizable=no,width=620,height=481,left=" + NLeft + ",top=" + NTop);
	win2.focus();
}
function isValidBrowser() { var result = 'ns';
	if ( navigator.appVersion.indexOf('MSIE 6.') != -1 ) { result = 'ie'; }
	if ( navigator.appVersion.indexOf('MSIE 5.') != -1 ) { result = 'ie'; }
	if ( navigator.appVersion.indexOf('MSIE 4.') != -1) { result = 'ie'; }
	if ( (navigator.appVersion.search('5.') != -1) && (navigator.appVersion.search('5.') != 2) && (navigator.appName.search('Netscape') != -1) ) { result = 'ns6' }
	return result;
}
function openIT(theURL,W,H,X,Y, wname) {
	CLOSEdwn 		= "/images/close_dwn.gif"
	CLOSEup 		= "/images/close_ovr.gif"
	CLOSEovr 		= "/images/close_ovr.gif"
	MINIdwn 		= "/images/mini_dwn.gif"
	MINIup 			= "/images/mini_ovr.gif"
	MINIovr 		= "/images/mini_ovr.gif"
	NONEgrf 		= "/images/none.gif"
	CLOCKgrf		= "/images/clock.gif"
	titHTML 	    = "<font style='font-family:verdana;font-size:14px;color:#FFFFFF'>&nbsp;<b>Instant Messanger</b></font>"
	titWIN			= "&nbsp;Search Your Love pager"
	winBORDERCOLOR   	= "#000000"
	winBORDERCOLORsel	= "#000000"
	winBGCOLOR    		= "#C40026"
	winBGCOLORsel 		= "#C40026"
	if (isValidBrowser() == 'ie') theURL = "/" + theURL;
	else if (isValidBrowser() == 'ns6') theURL = "/ns6_" + theURL;
	else theURL = "/ns_" + theURL;
	return openchromeless(theURL, wname, W, H, X, Y, NONEgrf, CLOSEdwn, CLOSEup, CLOSEovr, MINIdwn, MINIup, MINIovr, CLOCKgrf, titHTML, titWIN, winBORDERCOLOR, winBORDERCOLORsel, winBGCOLOR, winBGCOLORsel)
}

function noscrollwindow(filename) 
{	 
	NLeft = Math.round(screen.width/2 - 300); 
	NTop = Math.round(screen.height/2 - 280); 
   	var win2; 
	win2 = window.open("/" + filename+".html","preliminary_Design","status=yes,menubar=no,toolbar=no,resizable=no,width=620,height=481,left=" + NLeft + ",top=" + NTop); 
	win2.focus(); 
} 
function noscrollwindow1(filename) 
{	 
	NLeft = Math.round(screen.width/2 - 300); 
	NTop = Math.round(screen.height/2 - 280); 
   	var win2; 
	win2 = window.open(filename,"preliminary_Design","status=yes,menubar=no,toolbar=no,resizable=no,width=620,height=481,left=" + NLeft + ",top=" + NTop); 
	win2.focus(); 
} 
function termsandconditions(fname) 
{ 
	NLeft = Math.round(screen.width/2 - 320); 
	NTop = Math.round(screen.height/2 - 280); 
   	var win2; 
	win2 = window.open(fname,'', "menubar=no,status=yes,toolbar=no,resizable=no,scrollbars=yes,width=620,height=481,left=" + NLeft + ",top=" + NTop); 
	win2.focus(); 
}

function messagewindow(file)
{
h=screen.availHeight;
w=screen.availWidth;
NLeft = Math.round(w/2-200);
NTop = Math.round(h/2-50);
var win2;
win2=window.open(file,'',"menubar=no,status=no,toolbar=no,resizable=no,scrollbars=no,width=400,height=100,left=" + NLeft + ",top=" + NTop)}
function forum (filename)
        {
               NLeft = Math.round(screen.width/2 - 300);
               NTop = Math.round(screen.height/2 - 300);
               var win2;
              win2 = window.open(filename,"preliminary_Design","status=no,menubar=no,toolbar=no,resizable=no,width=620,height=550,left=" + NLeft + ",top=" + NTop);
               win2.focus();
        }
												
