function goToURL() {
    var i, args = goToURL.arguments;
    for (i = 0; i < (args.length - 1); i += 2) eval(args[i] + ".location='" + args[i + 1] + "'");
} 
function MM_preloadImages() {
  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];}}
}

var state = 'block';
function showhide(layer_ref, state) {
    if (state == 'block') {
        state = 'none';
    } else if (state == '') {
        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;
    }
}

//$(function() {
//    $('.west').tipsy({ gravity: 'w' });
//});

function div_show(p_id) {
    document.getElementById(p_id).style.display = 'block';
}

