<!-- Hide script from older browsers

var isDOM = (document.getElementsByTagName && navigator.appName != "Microsoft Internet Explorer" ? true : false);
var isIE4 = (document.all ? true : false);
var isNS4 = (document.layers ? true : false);
var DivNamesMenu = new Array("services_menu");
var tx;
tx = 1;

if (document.images) 
	{
	standard = new Image; standard.src='../rw_common/images/icon_standardpa.gif'
	vocal = new Image; vocal.src='../rw_common/images/icon_vocalpa.gif'
	party = new Image; party.src='../rw_common/images/icon_partypa.gif'
	band = new Image; band.src='../rw_common/imagesicon_bandpa.gif'
	
	standard_over = new Image; standard_over.src='../rw_common/images/icon_standardpa_over.gif'
	vocal_over = new Image; vocal_over.src='../rw_common/images/icon_vocalpa_over.gif'
	party_over = new Image; party_over.src='../rw_common/images/icon_partypa_over.gif'
	band_over = new Image; band_over.src='../rw_common/images/icon_bandpa_over.gif'
	}
	
function ro(id,name)
    {
        if (document.images)
        {
        	document.images[id].src=eval(name+".src");
        }
    }

function pop(url) 
	{
        newWin = window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,width=500,height=550');
        newWin.focus();
	}

function gotopage() 
	{
	var optionsel = document.pasys.patype.selectedIndex;
	location.href = document.pasys.patype.options[optionsel].value;
	}
	
function xgotopage() 
	{
	var optionsel = document.xpasys.xpatype.selectedIndex;
	location.href = document.xpasys.xpatype.options[optionsel].value;
	}

function updateprice() 
	{
	document.custom_booking.submit();
	}
	
function imageupdateprice(spe_no) 
	{
	var optionsel = document.custom_booking.elements[0].selectedIndex;
	document.custom_booking.elements[0].options[optionsel].value = spe_no;
	document.custom_booking.submit();
	}
	
function setChecked(newValue) 
	{
		var found_it;
		for (var i=0; i<document.custom_booking.op0.length; i++)  
		{
		if (document.custom_booking.op0[i].value == newValue)  
		{
			document.custom_booking.op0[i].checked = true;
		}
		else
		{
			document.custom_booking.op0[i].checked = false;
		}
		}
		document.custom_booking.submit();
	}
	
function changeClass()
	{
		var value = document.getElementById("system_selector").className
		if (value == "display_off")
		{
		document.getElementById("system_selector").setAttribute("className", "display_on");
		document.getElementById("non_system_selector").setAttribute("className", "display_off");
		document.getElementById("system_selector").setAttribute("class", "display_on");
		document.getElementById("non_system_selector").setAttribute("class", "display_off");
		}
		if (value == "display_on")
		{
		document.getElementById("system_selector").setAttribute("className", "display_off");
		document.getElementById("non_system_selector").setAttribute("className", "display_on");
		document.getElementById("system_selector").setAttribute("class", "display_off");
		document.getElementById("non_system_selector").setAttribute("class", "display_on");
		}
	
	}
	
function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
		map.addMapType(G_PHYSICAL_MAP);
        map.setCenter(new GLatLng(51.50025, -0.12724), 9);

      }
    }
    
$(document).ready(function() {
			/*
			*   Examples - images
			*/

			$("a#example1").fancybox();

			$("a#example2").fancybox({
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic'
			});

			$("a#example3").fancybox({
				'transitionIn'	: 'none',
				'transitionOut'	: 'none'	
			});

			$("a#example4").fancybox({
				'opacity'		: true,
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'none'
			});

			$("a#example5").fancybox();

			$("a#example6").fancybox({
				'titlePosition'		: 'outside',
				'overlayColor'		: '#000',
				'overlayOpacity'	: 0.9
			});

			$("a#example7").fancybox({
				'titlePosition'	: 'inside'
			});

			$("a#example8").fancybox({
				'titlePosition'	: 'over'
			});

			$("a[rel=example_group]").fancybox({
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});

			/*
			*   Examples - various
			*/

			$("#various1").fancybox({
				'titlePosition'		: 'inside',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});

			$("#various2").fancybox();
			
			$("#pa_iframe").fancybox({
				'width'				: 635,
				'height'			: 595,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$("#es_iframe").fancybox({
				'width'				: 635,
				'height'			: 265,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

			$("#iframe2").fancybox({
				'width'				: '75%',
				'height'			: '75%',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

			$("#various4").fancybox({
				'padding'			: 0,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});
		});
		
$(document).ready(function () {
        $('#pa_basic_showhidetarget').hide();
        $('#pa_general_showhidetarget').hide();
        $('#pa_live_showhidetarget').hide();
        $('#pa_party_showhidetarget').hide();
        $('#WhereWe').hide();
            
        $('#system_selector_showhidetarget').hide();
            
        var hide = false;
        $("a#pa_general_showhidetrigger").click(function(){
            $("#pa_general_showhidetarget").toggle(400);
        });
        
        $("a#pa_party_showhidetrigger").click(function(){
            $("#pa_party_showhidetarget").toggle(400);
        });
        
        $("a#pa_basic_showhidetrigger").click(function(){
            $("#pa_basic_showhidetarget").toggle(400);
        });

        $("a#pa_live_showhidetrigger").click(function(){
            $("#pa_live_showhidetarget").toggle(400);
        });
            
        $('a#system_selector_showhidetrigger').click(function () {
            $('#system_selector_showhidetarget').toggle(400);
        });
        
        $("a#ShowWhereWe").hover(function(){
            if (hide) clearTimeout(hide);
            $("#WhereWe").toggle(400);
        	}, function() {
            	hide = setTimeout(function() {$("#WhereWe").toggle(600);}, 2000);
        });
});
        
	



// end hiding contents -->

