function setRe(){
	var IE = false;
	var homeflashdiv;
	var isInIFrame = (window.location != window.parent.location) ? true : false;
	if(isInIFrame){
		myWidth = window.outerWidth;
	} else if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
	} else if( document.documentElement && (document.documentElement.clientWidth ||document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		IE = true;
		myWidth = document.documentElement.clientWidth;
	} else if( document.body && ( document.body.clientWidth ||document.body.clientHeight ) ) {
		//IE 4 compatible
		IE = true;
		myWidth = document.body.clientWidth;
	}
	//alert(window.scrollbars.visible);
	if(myWidth < 1300){
		adjustposition = (1300-myWidth)/2 + 'px';
		homeflashdiv = document.getElementById('homeflash');
		homeflashdiv.style.right=adjustposition;
		
		if(!IE){		
			homeflashdiv.style.width=myWidth;
			homeflashdiv.style.overflow= 'hidden';
			/*console.log('myWidth: ' + myWidth);
			console.log('adjustposition: ' + adjustposition);
			console.log(' window.location: ' + window.location);
			console.log(' window.parent: ' + window.parent);
			console.log(' window.parent.innerWidth: ' + window.parent.innerWidth);
			console.log(' window.parent.location: ' + window.parent.location);*/

		} else {
			homeflashdiv.style.padding='34px 0 0 0';
			//window.scrollbars.visible = no;
		}
		
	}	
}