/**
 * ====================================================
 * JavaScript (for style01)
 *
 * @author    : maomao
 * @date      : 2007/12/19
 * @copyright : (c) maomao-studio. All Rights Reserved.
 *     
 * ====================================================
 */

if (MMS.ifScreenWide){

	MMS.resetMenuPos = function(){
		var pSize = MMS.getPageSize();
		var scroll = MMS.getPageScrollPosition();
		var width = (pSize[0] > 933) ? 933 : pSize[0];
		var top = pSize[1] - 376 + scroll[1];
		var leftMove = (pSize[0] > 933) ? 0 : (933-pSize[0]);
		var height = pSize[1] - 250;
		if ($("content")) {
			Element.Methods.setStyle("content", {minHeight : height+"px"});
			if (Prototype.Browser.IE && navigator.userAgent.indexOf('MSIE 7') < 0){
				Element.Methods.setStyle("content", {height : height+"px"});
			}
		}
		if ($("wrapper")) {Element.Methods.setStyle("wrapper", {width : width+"px"});}
		if ($("navi")) {Element.Methods.setStyle("navi", {top : top+"px", left : (80-leftMove/2)+"px"});}
	};
}

document.write('<style type="text/css" title="currentStyle" media="screen"> @import "css/'+ (MMS.ifScreenWide ? "style01.css" : "style01s.css") + '"; </style>');
