/* ƒgƒbƒv—pflash */
function createFlash(fl) {
	var so = new SWFObject(fl.path, fl.name, fl.width, fl.height, "9");
	// so.addVariable("xmlurl", fl.xmlurl);
	so.addParam("wmode", "transparent");
	so.write(fl.id);
}
function eveHandle(listener, fn){
	if (window.attachEvent){
		window.attachEvent("on"+listener,fn);
		return true;
	}else{
		window.addEventListener(listener,fn,false);
		return true;
	}
}
function gid(id){
	return document.getElementById(id);
}
function flashs(){
	if(typeof gid("eGallery")!="undefined" && typeof flash!="undefined" && typeof flash.gallery!="undefined") createFlash(flash.gallery);
}
/* swf object */
var w = (window.attachEvent) ? 598 : 598;
var flash = {
		gallery:{path:"gallery.swf", name:"galleryMovie", width:w, height:440, xmlurl:"", id:"eGallery"}
};
eveHandle("load", flashs);