// JavaScript Document

var Win = navigator.appVersion.indexOf('Win',0) != -1;

var Mac = navigator.appVersion.indexOf('Mac',0) != -1;

        if(Mac){ document.writeln('<link rel="stylesheet" type="text/css" href="/john_sverson/common/css/mac.css" title="fontproperty">'); }

        else if(Win){ document.writeln('<link rel="stylesheet" type="text/css" href="/john_sverson/common/css/win.css" title="fontproperty">'); }



//rolle over
var imageDir = "/image/";
function changeImage(fileName,imageName) {
	document.images[imageName].src =  imageDir + fileName;
}


//window open
function subWin(URL,winName,x,y,w,h,scroll){
	var para =""
	+" left="        +x
	+",screenX="     +x
	+",top="         +y
	+",screenY="     +y
	+",toolbar="     +0
	+",loction="     +0
	+",directories=" +0
	+",status="      +0
	+",menubar="     +0
	+",scrollbars="  +scroll
	+",resizable="   +0
	+",innerWidth="  +w
	+",innerHeight=" +h
	+",width="       +w
	+",height="      +h
	win=window.open(URL,winName,para);
	win.opener=self;
	win.focus();
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}


