/*Dan Popup windows*/
function showPopup(url) { 
newwindow=window.open(url,'name','height=700,width=500,top=40,left=100,scrollbars, resizable'); 
if (window.focus) {newwindow.focus()} 
} 


/*Dan Popup windows*/
function showPopup2(url) { 
newwindow=window.open(url,'name','height=600,width=850,top=40,left=100, resizable, toolbar, statusbar, menubar, location, scrollbars'); 
if (window.focus) {newwindow.focus()} 
} 


/*Dan Popup windows*/
function showPopup3(url) { 
newwindow=window.open(url,'name','height=499,width=640,top=40,left=100, resizable,'); 
if (window.focus) {newwindow.focus()} 
} 


/*Dan Hide-Show <div>*/


var state = 'none';

function showhide(layer_ref) {

if (state == 'block') { 
state = 'none'; 
} 
else { 
state = 'block'; 
} 
if (document.all) { //IS IE 4 or 5 (or 6 beta) 
eval( "document.all." + layer_ref + ".style.display = state"); 
} 
if (document.layers) { //IS NETSCAPE 4 or below 
document.layers[layer_ref].display = state; 
} 
if (document.getElementById &&!document.all) { 
hza = document.getElementById(layer_ref); 
hza.style.display = state; 
} 
} 
//--> 

