function dom_init() {

  /* See http://fancybox.net/api for all options */
  $("a.fancybox").fancybox({
    'speedIn' : 600,
    'speedOut' : 300
  });
  
  
  $('.priceTable').wrap('<div class="priceTableWrapper" />');
  
  $('.priceTableWrapper').hide();
  
  
  
  $('.priceHead').click(function(){
	$(this).toggleClass('currentPriceHead');
    $(this).next('.priceTableWrapper').slideToggle();
  });
  
  

	$('.jumpLinkNav li').click(function(){
		$('.jumpLinkNav li').removeClass('current');
		$(this).addClass('current');
		$('.priceHead').removeClass('currentPriceHead').next('.priceTableWrapper').slideUp();
		
		$(''+$(this).find('a').attr('href')+'').toggleClass('currentPriceHead').next('.priceTableWrapper').slideToggle();
	});
	
	
	var myFile = document.location.toString();
		if (myFile.match('#')) { // the URL contains an anchor
			  // click the navigation item corresponding to the anchor
			  var myAnchor = '#' + myFile.split('#')[1];
			  myAnchor = myAnchor.substring(1);
			  myAnchor=decodeURI(myAnchor);
			  
			if (myAnchor != "") {
				$('a[href="#' + myAnchor + '"]').click();
			}
		} else {
			$('.priceHead:first').click();
		}
	
	
	
	

}


