PF_frameCheck();
// ---------------------------------------------------------
// Initialise
// ---------------------------------------------------------
var g_Path,g_Domain=window.location.href;
g_Path=(g_Domain.indexOf("sv47.bestsystems.net")<0)?'':'/~dauze000';
g_Domain=(g_Domain.indexOf("plus-5.com")<0 && g_Domain.indexOf("sv47.bestsystems.net")<0)?"":".plus-5.com";
var defaultDir='/style';
var topDir='/';
var ckName1="PF_sys";
var UALANG = (navigator.language)?navigator.language:navigator.userLanguage;
var spObj = new Object();
//if(UALANG!="ja"){top.location.href="en.html"};
window.onload=PF_onLoadAction;

var CSS = new Object();
CSS['win_ie'] = 'win_ie';
CSS['win_ie5'] = 'win_ie5';

var str1 = USERSYSTEM.osShortName;
var str2 = USERSYSTEM.browserShortName;
var str3 = parseFloat(USERSYSTEM.browserVersion);
var cssKey = SetStyle();
// ---------------------------------------------------------
// Link the Style Sheet
// ---------------------------------------------------------
if (typeof(stylesDir)=="undefined") {
	stylesDir = defaultDir;
}
document.open();
if (window.opener && self.name=="PFSubWin") {
	var myHref = stylesDir + "/subwin.css";
	document.write("<link rel='stylesheet' type='text/css' href='" + myHref + "'>");
}
if(typeof(CSS[cssKey])!="undefined"){
	var stylePath = stylesDir;
	var myHref = stylePath + "/" + CSS[cssKey] + ".css";
	document.write("<link rel='stylesheet' type='text/css' href='" + myHref + "'>");
}
document.close();

// ---------------------------------------------------------
// Set Style Info
// ---------------------------------------------------------
function SetStyle() {
	var ckData;
	if (str2 == "op") {
		if (str3 < 7.2) {
			str2 = "opo";
			if(str3 < 7.0) {
				str2 = "op6";
			}
		}
	}
	if (str2 == "ns") {
		if (str3 < 7) {
			str2 = "ns6";
		}
	}
	if (str1=="win"&&str2 == "ie") {
		if (str3 < 6) {
			str2 = "ie5";
		}
	}
	ckData = str1+"_"+str2;
	return ckData;
}
function toHelp(){
	var page,url,p=0,arg=toHelp.arguments;
	var helpFiles=new Array();
	var path=g_Path+topDir+"/help/";
	page=(arg[0])?arg[0]:0;
	helpFiles[0]="index.html";
	helpFiles[1]="privacy.html";
	helpFiles[2]="security.html";
	helpFiles[3]="sp_00.html";
	helpFiles[4]="sp_01.html";
	helpFiles[5]="sp_02.html";
	helpFiles[6]="sp_03.html";
	helpFiles[7]="sp_04.html";
	helpFiles[8]="sp_05.html";
	helpFiles[9]="order_01.html";
	helpFiles[10]="sp_06.html";
	helpFiles[20]="ie5_scu_00.html";

	url=path+helpFiles[page];
	PF_openTheWindow(0,0,0,0,0,1,1,600,438,20,20,url,'PFSubWin');
}
function PF_onLoadAction() {
	PF_PreLoad();
}
function PF_closingSubWindow(str) {
	document.open();
	if (window.opener && self.name=="PFSubWin") {
		document.write("<div id='lay_99'><p><a href='#' onclick='window.close();return false;'>"+str+"</a></p></div>");
	}
	document.close();
}
function closedSubwin() {
	if (window.opener && self.name=="PFSubWin") {
		window.opener.location.href="/store/";
		self.close();
		return false;
	}
	return true;
}