var msiewin = false;

if(navigator.appName == "Microsoft Internet Explorer" && navigator.platform == "Win32"){
	document.write("<link href='css/ie_pc_fix.css' rel='stylesheet' type='text/css'>");
	msiewin = true;
}

function togglePrint(){
	var print_window;
	print_window = window.open(window.location, "print_window", "toolbar=yes,location=no, directories=no, status=no, scrollbars=yes");
}

function init() {
	if(window.name != "print_window"){
		if(!msiewin){
			footer_container.moveToScreenFloor();
			addResponse("resize", "footer_container.moveToScreenFloor()");			
		}
		else{
			
			footer_container.moveTo(footer_container.getApparentStyle("left"),document.body.scrollHeight-32);
			title_container.moveTo(title_container.getApparentStyle("left", 0));
			
			addResponse("scroll", "background_container.moveTo(background_container.getApparentStyle('left'),document.body.scrollTop)");
		}
		
		
		footer_container.show();
	
		title_container.addResponse("click","window.location='index.html'");
	}
	else {
		document.getElementsByTagName("link")[0].href = "css/print.css";
	}
}

