
var globalObject;
function popflash(bool,object) {
globalObject = object;
 var flashmo = document.getElementById('homeFlash');
	var sz = $('flashcontent').getSize();
	$('flashcontent').setStyles({
		width: sz.size.x,
		height: sz.size.y
	});
	if (bool) {
		var imgreplc = new Element('img', {
			    'src': '/gb/resources/flash_780x355.gif',
			    'alt': '',
			    'title': '',
				'width': sz.size.x,
				'height': sz.size.y
			});


	flashmo.setAttribute("width", window.getWidth() - 40);
	flashmo.setAttribute("height", window.getHeight() - 40);	  						


//					TB_show('', '#TB_inline?height=300&amp;width=300&amp;inlineId=homeFlash', '');
		$('flashcontent').injectAfter('headerWrapper').setStyles({
			position: 'absolute',
			width: window.getScrollWidth() - 40,
			height: window.getScrollHeight() - 40,
			top: 0,
			left: 0,
			'z-index': 7000,
			'background-color': '#AAA085',
			padding: '20px'
		});

//						$('flashcontent').adopt(imgreplc);

	} else {
		$('flashcontent').injectAfter($E('h1')).setStyles({
			height: 258,
			padding: 0,
			position: 'static',
			width: 545,
			'z-index': 1
		});
		flashmo.setAttribute("width", '100%');
		flashmo.setAttribute("height", '100%');
	}

}
function thisMovie(movieName) {
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return window[movieName];
	} else {
		return document[movieName];
	}
}

function getDeeplink(){		  				
	thisMovie("homeFlash").getDeeplink(globalObject);		  					

}
		 