//Pop-Up Windows for pages//
function launch(url,xwidth,yheight,winfeatures) {
if (xwidth) {
   width=xwidth;
} else {
   width=760;
}
if (yheight) {
   height=yheight;
} else {
   height=420;
}
if (winfeatures) {
	features = winfeatures;
} else {
	features = 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0';
	}
if (!popWin || popWin.closed) {
// Doesnt exist or is closed - do nothing.
var popWin;
} else {
   popWin.close();
}
popWin = window.open(url,"popWin","height=" + height + ",width=" + width + "," + features + "");
popWin.focus();
return false;
}

function rs(u,w,h) {
   winStats='toolbar=no,location=no,directories=no,menubar=no,resizable=yes'
   winStats+='scrollbars=no'
   if (navigator.appName.indexOf("Microsoft")>=0) {
      winStats+=',left=250,top=200,width=' + w + ',height=' + h;
    }else{
      winStats+=',screenX=250,screenY=200,width=' + w + ',height=' + h;
    }
   remote=window.open(u,"_blank",winStats)   
	remote.focus();
}

function rs2(u,w,h) {
   winStats='toolbar=no,location=no,directories=no,menubar=no,resizable=no'
   winStats+=',scrollbars=yes'
   if (navigator.appName.indexOf("Microsoft")>=0) {
      winStats+=',left=50,top=50,width=' + w + ',height=' + h;
    }else{
      winStats+=',screenX=50,screenY=50,width=' + w + ',height=' + h;
    }
   buyWindow=window.open(u,"_blank",winStats)     
   buyWindow.focus();
}