//VARIOUS ** function init() { preloadNavRollovers(); } function reset(which) { MM_swapImage('work_nav_' + which,'','/i/work_nav/' + which + '.gif', which); reset_case_studies(); reset_client_names(); } function hilite_client_name(num) { if (document.getElementById) { var nameDiv = document.getElementById('client_name_' + num); if (nameDiv) { nameDiv.style.color = 'black'; } } } function reset_client_names() { if (document.getElementById) { for(var i = 1; i <= 9; i++) { var nameDiv = document.getElementById('client_name_' + i); if (nameDiv) { nameDiv.style.color = 'white'; } } } } function show_popup(file, w, h) { popup=window.open('/popup?file='+file,'','width='+w+',height='+h+',toolbar=no,location=no,status=no,scrollbars=no,resizable=yes'); } function show_map() { popup=window.open('/map','','width='+450+',height='+450+',toolbar=no,location=no,status=no,scrollbars=no,resizable=no'); } function show_history() { popup=window.open('/History/','','width='+500+',height='+450+',toolbar=no,location=no,status=no,scrollbars=1,resizable=yes'); } function show_client_name(name) { if (document.getElementById) { element = document.getElementById('client_name'); element.innerHTML = name; } } function clear_client_name() { if (document.getElementById) { element = document.getElementById('client_name'); element.innerHTML = ''; } } function checkInfoSelection() { if (document.theForm.securitisation_select.selectedIndex == 1 && document.theForm.invoice_select.selectedIndex == 1) { alert("You must choose a type of information you would like to receive"); return false; } else { return true; } } function openSpecialWin(url,name,w,h,scroll) { popup=window.open(url,name,'width='+w+',height='+h+',toolbar=no,location=no,status=no,scrollbars=no,resizable=no') } function openMapWin(url) { popup=window.open(url,'Map','width=600,height=350,toolbar=no,location=no,status=no,scrollbars=no,resizable=no') popup.focus(); } function preloadNavRollovers() { MM_preloadImages( '/i/nav/hello_grey.gif', '/i/nav/us_black.gif', '/i/nav/work_black.gif', '/i/nav/stuff_black.gif' ); } function markup_help_popup() { options = "scrollbars=yes,toolbar=0,status=0,"; options += "menubar=0,resizable=1,width=400,height=300"; newWin = window.open('/markup_help', '', options); newWin.focus(); } function image_chooser_popup() { options = "scrollbars=yes,toolbar=0,status=0,"; options += "menubar=0,resizable=1,width=420,height=300"; ic_win = window.open('/Admin/image_chooser', '', options); ic_win.focus(); } function show_disclaimer() { var winCopy; winCopy = window.open('/Disclaimer', 'Copyright', 'width=500,height=300,left=20,top=20,scrollbars=yes,resizable=yes'); winCopy.focus(); } function open_popup(x,y, myURL, myTitle) { if (!x) { x = 430; } if (!y) { y = 520; } options = "scrollbars=no,toolbar=0,status=0,"; options += "menubar=0,resizable=1,width=" + x + ",height=" + y; newWin = window.open(myURL, myTitle, options); newWin.focus(); } //Define global variables var timerID = null; var timerOn = false; var timecount = 1000; var what = null; var newbrowser = true; var check = false; //DREAMWEAVER** function MM_setTextOfLayer(objName,x,newText) { if ((obj=MM_findObj(objName))!=null) with (obj) if (navigator.appName=='Netscape') {document.write(unescape(newText)); document.close();} else innerHTML = unescape(newText); } function MM_showHideLayers() { var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; } obj.visibility=v; } } function MM_displayStatusMsg(msgStr) { status=msgStr; document.MM_returnValue = true; } function MM_reloadPage(init) { 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&&i0&&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