﻿$.include(['javascript/jquery.hoverbox.js']);$(function() {
    setTimeout(function() { (window["SoundSwf"] || document["SoundSwf"]).playSound("images/music.mp3", 10); }, 1000);
    $("#menu li").hover(
		    function() { $("ul", this).show(); },
		    function() { }
    );
    if (document.all) {
        $("#menu li").hoverClass("sfHover");
    }
    $("#pics a").hoverbox();
    $("a[href^='Detail.aspx'],#Map area:not(:last)").click(function() {fullOpen(this); return false; });
    var IE6 = navigator.userAgent.indexOf("MSIE 6") > 0;
    if (!IE6) {
        $("#pics").css("overflow-x", "auto").css("overflow-y", "hidden").parent().css("overflow", "hidden");
    }
});

function fullOpen(obj) {
    window.open($(obj).attr("href"), 'detail', 'width=' + window.screen.width + ',height=' + (window.screen.height - 20) + ',toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,resizable=yes,status=no');
    return false;
}