	function closewindow(){
		$('myElement').style.visibility = 'hidden';
		$('fonmyElement').style.visibility = 'hidden';
		var allAnsc = $(document.body).getElements("embed");
		allAnsc.each(function(item){
			item.style.visibility = 'visible';
		});
		var allAnsc2 = $(document.body).getElements("object");
		allAnsc2.each(function(item){
			item.style.visibility = 'visible';
		});
	};
	function openwindow(){
		var em = $('myElement');
		var fem = $('fonmyElement');
		em.style.visibility = 'visible';
		fem.style.visibility = 'visible';
		var allAnsc = $(document.body).getElements("embed");
		allAnsc.each(function(item){
			item.style.visibility = 'hidden';
		});
		var allAnsc2 = $(document.body).getElements("object");
		allAnsc2.each(function(item){
			item.style.visibility = 'hidden';
		});
		fem.effect('opacity',{ duration: 0, transition: Fx.Transitions.linear, wait:true}).start(0,0.5);
		if(window.ie){
			winH = window.getScrollHeight();
			winW = window.getScrollWidth();
				fem.style.width = winW;
				fem.style.height = winH;
				em.style.width = winW;
				em.style.height = winH;
				var allAnchors = $(document.body).getElements('select');
				allAnchors.each(function(item, index){
					item.setStyle('visibility','hidden');
				});
		} else {
			em.style.position = 'fixed';
			fem.style.position = 'fixed';
		};
	};