var j = jQuery.noConflict();


j(function() {


j('#Navigation').bgiframe( );
j('#Navigation ul').bgiframe( );

// jcarousellite
j("#PromosListWrap").jCarouselLite({
        btnNext: "#PromosMenu .Next",
        btnPrev: "#PromosMenu .Last",
		// for auto and speed lower the number the faster the speed
		//speed: 1800,
		auto: 9000,
		speed: 1200,	
		
    visible: 1,
    start: 0,
    btnGo:
    [".PromoOne", ".PromoTwo", ".PromoThree"]
});
// fix for links in jcarousellite
j("#PromosListWrap #PromosList li a").click( function() { 
	window.location=(j(this).attr('href')); 
	});


/*j("form.QuickForm input.TextField").click(function () { 
      j(this).prev(".ShowHideLabel").hide();
    });
j("form.QuickForm .ShowHideLabel").click(function () { 
      j(this).hide();
	  
    });	
*/
j("a.Bookmark").click(function () { 
      bookmark(); 
	  return false;
    });	

j('a.EventLink').tooltip({
		track: true,
		delay: 0,
		showURL: false,
		showBody: " - "
	});


});




function bookmark()  {  
	if ((navigator.appName == 'Microsoft Internet Explorer') && (parseInt(navigator.appVersion) >= 4)) {  
		window.external.AddFavorite(window.location,document.title);  
	}  
	else {  
			alert('Don\'t forget to bookmark us! (CTRL-D)');  
	}  
} 

function jumpMenu(anchorMonth) {
	window.location = "http://www.nzso.co.nz/concerts/concerts_and_tours#" + anchorMonth;
}

