<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
function EnlargePic(pic)
{
var OpenWindow=window.open("", "newwin", "height=380,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.close()
var OpenWindow=window.open("", "newwin", "height=380,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.document.write("<HTML>")
OpenWindow.document.write("<TITLE>Hand Hygeine</TITLE>")
OpenWindow.document.write("<head>")
OpenWindow.document.write("<link href='style.css' rel='stylesheet' type='text/css'>")
OpenWindow.document.write("</head>")
OpenWindow.document.write("<BODY bgcolor='#ffffff'>")
OpenWindow.document.write("<center>")
OpenWindow.document.write("<img src='")
OpenWindow.document.write(pic)
OpenWindow.document.write("' border='0'>")
OpenWindow.document.write("<br><br><br>")
OpenWindow.document.write("<form><input type='button' name='button' value='Close' onClick='self.close()'>")
OpenWindow.document.write("</form>")              
OpenWindow.document.write("</center>")
OpenWindow.document.write("</HTML>")
}

function EnlargePicTeam(pic)
{
var OpenWindow=window.open("", "newwin", "height=410,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.close()
var OpenWindow=window.open("", "newwin", "height=410,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.document.write("<HTML>")
OpenWindow.document.write("<TITLE>DeBug Infection Prevention Team</TITLE>")
OpenWindow.document.write("<head>")
OpenWindow.document.write("<link href='style.css' rel='stylesheet' type='text/css'>")
OpenWindow.document.write("</head>")
OpenWindow.document.write("<BODY bgcolor='#ffffff'>")
OpenWindow.document.write("<center>")
OpenWindow.document.write("<img src='")
OpenWindow.document.write(pic)
OpenWindow.document.write("' border='0'>")
OpenWindow.document.write("<br><br><br>")
OpenWindow.document.write("<form><input type='button' name='button' value='Close' onClick='self.close()'>")
OpenWindow.document.write("</form>")              
OpenWindow.document.write("</center>")
OpenWindow.document.write("</HTML>")
}

function EnlargeTWPic(pic)
{
var OpenWindow=window.open("", "newwin", "height=500,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.close()
var OpenWindow=window.open("", "newwin", "height=500,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.document.write("<HTML>")
OpenWindow.document.write("<TITLE>Talking Walls Posters</TITLE>")
OpenWindow.document.write("<head>")
OpenWindow.document.write("<link href='styles.css' rel='stylesheet' type='text/css'>")
OpenWindow.document.write("</head>")
OpenWindow.document.write("<BODY bgcolor='#ffffff'>")
OpenWindow.document.write("<script language=JavaScript>")
OpenWindow.document.write("var message='These images are protected under copyright, please contact Austin Health for permission to use.';")
OpenWindow.document.write("if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}document.oncontextmenu=new Function('alert(message);return false')")
OpenWindow.document.write("</script>")
OpenWindow.document.write("<center>")
OpenWindow.document.write("<img src='")
OpenWindow.document.write(pic)
OpenWindow.document.write("' border='0'>")
OpenWindow.document.write("<br><br>")
OpenWindow.document.write("These images are protected under copyright, please contact Austin Health for permission to use.")
OpenWindow.document.write("<br><br>")
OpenWindow.document.write("<form><input type='button' name='button' value='Close' onClick='self.close()'>")
OpenWindow.document.write("</form>")              
OpenWindow.document.write("</center>")
OpenWindow.document.write("</HTML>")
}

function EnlargeTWPicPT(pic)
{
var OpenWindow=window.open("", "newwin", "height=600,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.close()
var OpenWindow=window.open("", "newwin", "height=600,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.document.write("<HTML>")
OpenWindow.document.write("<TITLE>Talking Walls Posters</TITLE>")
OpenWindow.document.write("<head>")
OpenWindow.document.write("<link href='styles.css' rel='stylesheet' type='text/css'>")
OpenWindow.document.write("</head>")
OpenWindow.document.write("<BODY bgcolor='#ffffff'>")
OpenWindow.document.write("<script language=JavaScript>")
OpenWindow.document.write("var message='These images are protected under copyright, please contact Austin Health for permission to use.';")
OpenWindow.document.write("if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}document.oncontextmenu=new Function('alert(message);return false')")
OpenWindow.document.write("</script>")
OpenWindow.document.write("<center>")
OpenWindow.document.write("<img src='")
OpenWindow.document.write(pic)
OpenWindow.document.write("' border='0'>")
OpenWindow.document.write("<br><br>")
OpenWindow.document.write("These images are protected under copyright, please contact Austin Health for permission to use.")
OpenWindow.document.write("<br><br>")
OpenWindow.document.write("<form><input type='button' name='button' value='Close' onClick='self.close()'>")
OpenWindow.document.write("</form>")              
OpenWindow.document.write("</center>")
OpenWindow.document.write("</HTML>")
}

function EnlargeRuralPic(pic)
{
var OpenWindow=window.open("", "newwin", "height=600,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.close()
var OpenWindow=window.open("", "newwin", "height=600,width=520,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.document.write("<HTML>")
OpenWindow.document.write("<TITLE>Rural Infection Control Posters</TITLE>")
OpenWindow.document.write("<head>")
OpenWindow.document.write("<link href='style.css' rel='stylesheet' type='text/css'>")
OpenWindow.document.write("</head>")
OpenWindow.document.write("<BODY bgcolor='#ffffff'>")
OpenWindow.document.write("<center>")
OpenWindow.document.write("<img src='")
OpenWindow.document.write(pic)
OpenWindow.document.write("' border='1'>")
OpenWindow.document.write("<br><br>")
OpenWindow.document.write("<form><input type='button' name='button' value='Close' onClick='self.close()'>")
OpenWindow.document.write("</form>")              
OpenWindow.document.write("</center>")
OpenWindow.document.write("</HTML>")
}

function EnlargeRuralPicLS(pic)
{
var OpenWindow=window.open("", "newwin", "height=450,width=600,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.close()
var OpenWindow=window.open("", "newwin", "height=450,width=600,leftmargin='0',topmargin='0',marginheight='0',marginwidth='0'") 
OpenWindow.document.write("<HTML>")
OpenWindow.document.write("<TITLE>Rural Infection Control Posters</TITLE>")
OpenWindow.document.write("<head>")
OpenWindow.document.write("<link href='style.css' rel='stylesheet' type='text/css'>")
OpenWindow.document.write("</head>")
OpenWindow.document.write("<BODY bgcolor='#ffffff'>")
OpenWindow.document.write("<center>")
OpenWindow.document.write("<img src='")
OpenWindow.document.write(pic)
OpenWindow.document.write("' border='1'>")
OpenWindow.document.write("<br><br>")
OpenWindow.document.write("<form><input type='button' name='button' value='Close' onClick='self.close()'>")
OpenWindow.document.write("</form>")              
OpenWindow.document.write("</center>")
OpenWindow.document.write("</HTML>")
}

function mmLoadMenus() {
  if (window.mm_menu_1013174310_0) return;
  window.mm_menu_1013174310_0 = new Menu("root",226,30,"Arial, Helvetica, sans-serif",12,"white","#000066","4f78d6","#dde0ee","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_1013174310_0.addMenuItem("Hand&nbsp;Hygiene","location='handhygiene.html'","class='menulink'");
  mm_menu_1013174310_0.addMenuItem("Other&nbsp;Important&nbsp;Interventions","location='interventions.html'");
  mm_menu_1013174310_0.addMenuItem("Getting&nbsp;Staff&nbsp;Involved","location='involved.html'");
  mm_menu_1013174310_0.addMenuItem("Surveillance","location='surveillance.html'");
  mm_menu_1013174310_0.addMenuItem("Impact","location='impact.html'");
  mm_menu_1013174310_0.addMenuItem("FAQs","location='faq.html'");
   mm_menu_1013174310_0.hideOnMouseOut=true;
   mm_menu_1013174310_0.menuBorder=1;
   mm_menu_1013174310_0.menuLiteBgColor='#ffffff';
   mm_menu_1013174310_0.menuBorderBgColor='#000099';
   mm_menu_1013174310_0.bgColor='#dde0ee';
  window.mm_menu_references_1 = new Menu("root",226,30,"Arial, Helvetica, sans-serif",12,"white","#000066","4f78d6","#dde0ee","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  //mm_menu_references_1.addMenuItem("Other&nbsp;Literature","location='other_lit.html'");
  mm_menu_references_1.addMenuItem("Hot&nbsp;Links","location='hot_links.html'");
   mm_menu_references_1.hideOnMouseOut=true;
   mm_menu_references_1.menuBorder=1;
   mm_menu_references_1.menuLiteBgColor='#ffffff';
   mm_menu_references_1.menuBorderBgColor='#003399';
   mm_menu_references_1.bgColor='#dde0ee';

  mm_menu_references_1.writeMenus();
} // mmLoadMenus()

function openslideshow() {
window.open('slideshow/1_intro.html','hand_hygiene','location=no,status=no,scrollbars=no,resizable=no,width=650,height=456,left=15,top=15,screenX=15,screenY=15')  
}

function checkform() {
if (document.contactus.fullname.value=="" && document.contactus.position.value=="" && document.contactus.organisation.value=="" && document.contactus.address.value=="" && document.contactus.country.value=="" && document.contactus.user_email.value=="" && document.contactus.phone.value=="" && document.contactus.message.value=="")
	{alert('You haven\'t keyed anything in!');	document.contactus.fullname.focus();return false}

if (document.contactus.fullname.value=="")
	{alert('Please provide your name');	document.contactus.fullname.focus();return false} 

if (document.contactus.organisation.value=="")
	{alert('Please provide your organisation name');	document.contactus.organisation.focus();return false} 

if (document.contactus.user_email.value=="" && document.contactus.phone.value=="")
	{alert('Please supply either an email address or a phone number');	document.contactus.user_email.focus();return false}
	
}


function openvideo() {
window.open('video.html','DeBug_SBS_Video','location=no,status=no,scrollbars=no,resizable=no,width=400,height=370,left=15,top=15,screenX=15,screenY=15')  
}


function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
	if (document.layers||document.getElementById&&!document.all){
		if (e.which==2||e.which==3){
		alert(message);
		return false;
		}
	}
}

