iehacks = null;
function initSite() {
     
     $('#get_designer').fancybox({         
         'width':403,
          'height':535,
          'type': 'iframe'
     });
     
     $('#get_calc').fancybox({     
		'width':640,	 
         'height':565,
         'type': 'iframe'
     });
     
     $('ul.gallery li a').fancybox({
        // 'titleShow'      : false,
        'titlePosition' : 'inside',
		'transitionIn'	: 'none',
		'transitionOut'	: 'none'
     });
     
     
}

function getFlashMovieObject(movieName)
{
  if (window.document[movieName]) 
  {
    return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1)
  {
    if (document.embeds && document.embeds[movieName])
      return document.embeds[movieName]; 
  }
  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  {
    return document.getElementById(movieName);
  }
}

function flash_on(value)
{
var flashMovie=getFlashMovieObject("shkaf_700x600_v01");
//alert(value);
flashMovie.menu_on(value);

}
function flash_off()
{
var flashMovie=getFlashMovieObject("shkaf_700x600_v01");
flashMovie.menu_off();

}
$(document).ready(function(){
$("a[id^='item_menu']").mouseenter(function(){
flash_on($(this).attr('data'));
$(this).mouseleave(function(){
flash_off();
});
});
});

