var v_store_url="/index.html";
var trimx = 0;
var fw_host = "rocketlife.com";
try {
    fw_host = location.hostname.replace(/.*\.([^.]*\.[^.]*$)/gi, "$1");
} catch (e) {}
			
function StandardPopup(formparam, n, w, h){
		var dw=450, dh=400, dn="RLPopup";
		if(typeof(w) != 'undefined' && w != null) dw = w;
		if(typeof(h) != 'undefined' && h != null) dh = h;
		if(typeof(n) != 'undefined' && n != null) dn = n;	
		//var thedocument = window.location.protocol + "//www." + fw_host + "/details/" + formparam + ".html";
		var thedocument = "../details/" + formparam + ".html";
	try {
		var win = window.open(thedocument,dn,"left=200,top=50,height=" + String(dh) + ",width=" + String(dw) + ",status=no,toolbar=no,menubar=no,location=no,scrollbars=1;");			
		if(win) win.focus();
	} catch (e) {}
}

function HintsPopup(formparam, n, w, h){
		var dw=620, dh=500, dn="RLHints";
		if(typeof(w) != 'undefined' && w != null) dw = w;
		if(typeof(h) != 'undefined' && h != null) dh = h;
		if(typeof(n) != 'undefined' && n != null) dn = n;	
		var thedocument = "../hints/" + formparam + ".html";
	try {
		var win = window.open(thedocument,dn,"left=200,top=50,height=" + String(dh) + ",width=" + String(dw) + ",status=no,toolbar=no,menubar=no,location=no,scrollbars=1;");			
		if(win) win.focus();
	} catch (e) {}
}


function zStandardPopup(formparam, n, w, h){
		var dw=450, dh=400, dn="RLPopup";
		if(typeof(w) != 'undefined' && w != null) dw = w;
		if(typeof(h) != 'undefined' && h != null) dh = h;
		if(typeof(n) != 'undefined' && n != null) dn = n;	
		var thedocument = window.location.protocol + "//www.rocketlife.com/R543jhe23/" + formparam;
	try {
		var win = window.open(thedocument,dn,"left=200,top=50,height=" + String(dh) + ",width=" + String(dw) + ",status=no,toolbar=no,menubar=no,location=no,scrollbars=1;");			
		if(win) win.focus();
	} catch (e) {}
}

function VisitRL(page){
	if (!page) page="index.html";
	try {
		//var win = window.open("http://www." + fw_host + "/" + page, "RLHome", "toolbar,location,status,menubar,resizable,scrollbars", true);
		var win = window.open("/" + page, "RLHome", "toolbar,location,status,menubar,resizable,scrollbars", true);
		if(win) win.focus();
	} catch (e) {}
}

function DemoShow(showname){
	try {
		var win = window.open(window.location.protocol + "//www.gallery." +  fw_host + "/RocketShows/"+showname, "DemoShows", "toolbar,location,status,menubar,resizable,scrollbars", true);
		if(win) win.focus();
	} catch (e) {}
}

function SysReq(){
	try {
		var win = window.open(window.location.protocol + "//www." + fw_host + "/details/sysreq.html","sysreq","height=600,width=547,status=0,toolbar=0,menubar=0,location=no,scrollbars=1");
		if(win) win.focus();
	} catch (e) {}
}
