/* --------------------------------------------------
initialize swfobject
-------------------------------------------------- */
	
	function closeFlashBnr(){
		var element = document.getElementById("openTypeBnrFrash");
		element.style.visibility = 'hidden';
	}
	
	var opened = getCookie('opened');
	if(opened == ""){ setCookie('opened',(new Date()).getTime()); }
	
	var flashvars = {};
	flashvars.xml_path = "//www.hollywood-ch.com/expg/flash_bnr/opentype/xml/opentype.xml";
	flashvars.servertime = "/flash/php/serverdate.php";
	flashvars.opened = opened;
	flashvars.variable1 = "value1";
	flashvars.variable2 = swfobject.getQueryParamValue("variable2");
	
	var params = {};
	params.menu = "false";
	params.wmode = "window";
	params.bgcolor = "#000000";
	params.allowScriptAccess = "always";
	params.swLiveConnect = "true";
	
	
	var attributes = {};
	attributes.id = "openTypeBnrFrash";
	attributes.name = "openTypeBnrFrash";
	
	var expressinstall = "";
	//expressinstall += "./js/swfobject/expressinstall.swf";
	//http://www.hollywood-ch.com/expg/test/_banner/opentype/swf/bnr1.swf
	swfobject.embedSWF('/flash/banner/opentype/bnr1.swf', attributes.id, '100%', '100%', '8.0', 
	//swfobject.embedSWF('/expg/test/_banner/opentype/swf/bnr1.swf', attributes.id, '100%', '100%', '8.0', 
	expressinstall, flashvars, params, attributes);
	
	//FitFlash(attributes.id, 800, 600);
	//swfmacmousewheel.registerObject(attributes.id);
	
