// CONTACT FORM SUBMITED function LaunchMedia(url,title,w,h) { if(url.indexOf("http:")==-1) { path = ((location.href.toLowerCase()).indexOf("ibarnett/")!=-1) ? "../" : "/multimedia/"; } else { path = ""; } w=(w)?w:280; h=(h)?h:282; PopWin("/_showvid.php?WMV="+(path+url)+"&width="+w+"&height="+h+"&vid_title="+title,w,h,false,false); } function SayThanks(btn) { btn.value='Submitting....'; btn.style.color='#808080'; setTimeout('document.getElementById("FormArea").style.display="none";document.getElementById("ThanksArea").style.display="inline";',1200); } function mozilla_SizeContent(netDiff_W,netDiff_H) { netDiff_H = netDiff_H?netDiff_H : 0; netDiff_W = netDiff_W?netDiff_W : 0; w=navigator.appName.toLowerCase()=="netscape" ? parseFloat(document.getElementById("THE_CONTENT").style.width)+netDiff_W : document.getElementById("THE_CONTENT").style.width; h=navigator.appName.toLowerCase()=="netscape" ? parseFloat(document.getElementById("THE_CONTENT").style.height)+netDiff_H : document.getElementById("THE_CONTENT").style.height; document.getElementById("THE_CONTENT").style.width=w; document.getElementById("THE_CONTENT").style.height=h; document.getElementById("THE_CONTENT").style.display="inline"; } // SWF // function KillAudio() { } function EmbedWMV(wmv,w,h,id,autoplay) { w=(w)?w:280; h=(h)?h:282; document.write(''); document.getElementById("wmvDIV_"+id).style.display="inline"; document.getElementById("wmvDIV_"+id).id = "wmv_Embedded"; } function EmbedMP3(mp3,w,h,id,autoplay) { //document.write(''); //document.getElementById("mp3DIV_"+id).style.display="inline"; //document.getElementById("mp3DIV_"+id).id = "MP3_Embedded"; } function EmbedSWF(swf,w,h,id,flshVer) { flshVer = (!flshVer) ? 8 : flshVer; document.write(''); document.getElementById("swfDIV_"+id).style.display="inline"; document.getElementById("swfDIV_"+id).id = "SWF_Embedded"; } function html_SWF(swf,w,h,flshVer) { flshVer = (!flshVer) ? 8 : flshVer; str = ""; str = ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; return str; } // INTERFACE // function Transition(nav) { var defSWFWidth = 1000; var defSWFHeight = 438; if(!glob_SITESTRUCTURE[nav]){ alert("Error (N001) : Cannot find the content for '"+nav+"'. Please contact site administrator."); return; } top.document.getElementById("JSANIM_CONTAINER").innerHTML = html_SWF("Media/Flash/Interface/"+glob_SITESTRUCTURE[nav].tran,defSWFWidth,defSWFHeight); top.document.getElementById("JSANIM_CONTAINER").style.display = 'inline'; setTimeout('LoadHTM("'+glob_SITESTRUCTURE[nav].html+'")',1000); } function KillTransition() { top.document.getElementById("JSANIM_CONTAINER").style.display = 'none'; top.document.getElementById("JSANIM_CONTAINER").innerHTML = ""; } function LoadHTM(htm) { var htmlPath = (window.JSFRM_CONTENT) ? "Pages/" : ""; top.JSFRM_CONTENT.location.href = htmlPath+htm; } function PopWin(url,w,h,scroll,resize,topleft) { if(topleft) { t=0; l=0; } else { t=((screen.availHeight/2)-(h/2)); l=((screen.availWidth/2)-(w/2)); } win=open(url,"win"+w+h,"width="+w+",height="+h+",scrollbars="+((scroll)?"yes":"no")+",resizable="+((resize)?"yes":"no")+",menubars=no,location=no,toolbars=no,status=no,top="+t+",left="+l); win.focus(); } function click_Thumbnail(img) { img = img.replace('_th',''); PopWin("_imageviewer.php?pg_title=Image+Enlarged&image="+escape(img),1,1,false,false,true); }