function islores() {
   /*
   ** Check if the browser is running in a low-resolution environment
   ** try to use the screen object (in N4 or e4). If not available, try to use Java.
   ** If not available, assume low-res.
   ** returns true if in a low-resolution environment (width < 800 pixels)
   */
   if (self.screen)
     return (screen.width <= 1024);
   else
     if (navigator.javaEnabled && navigator.javaEnabled())
       return (java.awt.Toolkit.getDefaultToolkit().getScreenSize().width <= 1024);
     else
       return true;
   }

function goNeuro() {

	if (islores())
		document.location.href="http://www.trauma.org/resus/neuromoulage/800/neuromoulage.html"
	else
		document.location.href="http://www.trauma.org/resus/neuromoulage/1280/neuromoulage.html"

}

function goPhys() {

	if (islores())
		document.location.href="http://www.trauma.org/resus/neuromoulage/800/neurophys.html"
	else
		document.location.href="http://www.trauma.org/resus/neuromoulage/1280/neurophys.html"

}

function ttest()
{
	alert( 'test' );
}

