﻿// JavaScript Document

try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}
var browser=navigator.appName;

var prevobj=1;
function show(obj){
	var obj2=document.getElementById("con"+obj);
	var objprev=document.getElementById("con"+prevobj);
	objprev.style.display="none";
	document.getElementById("pm"+prevobj).className="";
	obj2.style.display="block";
	document.getElementById("pm"+obj).className="aA";
	prevobj=obj;
}

window.onload=function(){
	if(document.getElementById("pm")!=null){
	for(var i=0;i<document.getElementById("pm").getElementsByTagName("a").length;i++){
		document.getElementById("pm").getElementsByTagName("a")[i].onfocus=function(){
			this.blur();
		}		
	}
	}
}

function imeWin(file,w,h,r,s){
    window.open(file,'','resizable='+r+',width='+w+",height="+h+',scrollbars='+s+',left='+(screen.availWidth-w)/2+',top='+(screen.availHeight-h)/2);
}
