function RunFoo()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="790" height="175">\n');
document.write('<param name="movie" value="medesigns.swf?med=6587895642' + Math.random() + '">\n');
document.write('<param name="quality" value="high">\n');
document.write('<embed src="medesigns.swf?med=6587895642' + Math.random() + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="790" height="175"></embed>\n');
document.write('</object>\n');
}

function BG()
{
	var ScrnSize = "UnCommon"

	if (navigator.appVersion.indexOf("4.") != -1 &&  navigator.appName.indexOf("Explorer") != -1) 
	{
		ScrnSize = screen.width + "x" + screen.height;
	}
	
	if (navigator.appVersion.indexOf("4.") != -1 && navigator.appName.indexOf("Netscape") != -1) 
	{
		ScrnSize = screen.width + "x" + (screen.height + 19); //Netscape sees 19 pixels less on Height
	}
	
	if (navigator.appVersion.indexOf("5.") != -1 && navigator.appName.indexOf("Netscape") != -1)
	{
		ScrnSize = screen.width + "x" + screen.height; //Latest version of Firefox
	}

	switch(ScrnSize) 
	{
	case "800x600":  document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="http://www.dvbmedia.nl/content_images/back_800_600.jpg">');
	case "1024x600":  document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="http://www.dvbmedia.nl/content_images/back_1024_768.jpg">');
	case "1024x768":  document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="http://www.dvbmedia.nl/content_images/back_1024_768.jpg">');
	case "1152x864":  document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="http://www.dvbmedia.nl/content_images/back_1152_864.jpg">');
	case "1280x800":  document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="http://www.dvbmedia.nl/content_images/back_1280_800.jpg">');
 	case "1280x768":  document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="http://www.dvbmedia.nl/content_images/back_1280_800.jpg">');
	case "1280x1024": document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="images/back_1600_1280.jpg">');
	case "1280x960": document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="images/back_1600_1280.jpg">');
	case "1600x1200": document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="images/back_1600_1280.jpg">');
	case "1600x1280": document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="images/back_1600_1280.jpg">');
	default:          document.write('<body style="background-attachment: fixed; background-repeat: no-repeat;" background="images/back_1600_1280.jpg">');
  }
}

function mouseDown(e) 
{
 if (parseInt(navigator.appVersion)>3) {
  var clickType=1;
  if (navigator.appName=="Netscape") clickType=e.which;
  else clickType=event.button;
  if (clickType!=1) {
   alert ('Voor meer informatie over M.E. Designs kunt u terecht op onze website.')
   return false;
  }
 }
 return true;
}

if (parseInt(navigator.appVersion)>3) {
 document.onmousedown = mouseDown;
 if (navigator.appName=="Netscape")
  document.captureEvents(Event.MOUSEDOWN);
}