	function get_browser_width() {
		if ( window.innerWidth ) { return window.innerWidth; }  
		else if ( document.documentElement && document.documentElement.clientWidth != 0 ) { return document.documentElement.clientWidth; }  
		else if ( document.body ) { return document.body.clientWidth; }  
		return 0;  
	}

// $B2hLL%5%$%:$,(B300$B$h$j>.$5$$;~$O(Bmin_max$B$r8F$S=P$9(B
function load_minmax(){
	if( get_browser_width() < 300 ){
			
		//Create a 'script' element
		var scrptE = document.createElement("script"); 

		// Set it's 'type' attribute
		scrptE.setAttribute("type", "text/javascript"); 

		// Set it's 'language' attribute 
		scrptE.setAttribute("language", "JavaScript"); 

		// Set it's 'src' attribute 
		scrptE.setAttribute("src", "/js/minmax.js"); 

		// Now add this new element to the head tag 
		document.getElementsByTagName("head")[0].appendChild(scrptE); 
	}
}

window.onload = function(){ load_minmax(); }

