﻿// JavaScript Document
/*===========================================================================
以下代码由乐清市亿新科技 IME 开发
http://www.eshion.cn
Tel:0577-27802780
===========================================================================*/

try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}
var browser=navigator.appName;
var bVersion=navigator.appVersion;

function menubgShow(obj){
	$(function(){
	$("#mbg"+obj).fadeIn(350,function(){
		if ($.browser.msie){this.style.removeAttribute('filter');}
	});
	});	
}
function menubgHid(obj){
	$(function(){
	$("#mbg"+obj).fadeOut(250,function(){
		if ($.browser.msie){this.style.removeAttribute('filter');}
	});
	});	
}


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);
}

function closeWin(){
	window.opener=null;
	window.open("","_self");
	window.close();	
}


