// JavaScript Document
$(function(){
//$("#home_slideshow").hide();		  
//$("#feat_swap").hide();
//alert("bob");
var showHomeSlides = function(){		   
 $("#home_slideshow, #home_slideshow * ").css("visibility","visible");
}

var xyz = setTimeout(showHomeSlides,1500);
/*
var closeFlash = function(){
	//alert("started");
	$("#homeFlashDiv").hide();
	$("#feat_swap").show();

	//$("#home_slideshow").show();
	var sslides = setTimeout(function(){
	$('#home_slides').cycle('resume');
									  },5500);
}*/
		   
//var znsn = setTimeout(closeFlash,10000);


var load_video = function(holderID)
//{if(is_slide_a_video(slide_number))
{
	//alert("jorb");
	var video_path=$('#homeFlashDiv').html()
	//alert(video_path);
	var id=holderID//$('#odoslide_active .video_slide .flashcontent').attr('id')
	///assets/swf/detail_player.swf
	//
	$("#flashStage").flash({swf:'/scweb_assets/swf/scweb09_introV1.swf' ,width:'960' ,height:'436' ,params:{wmode:'transparent'},data:'/scweb_assets/swf/scweb09_introV1.swf' ,flashvars:{flvPath:video_path/*, imgPath:'http://odopod.com/assets/images/white-gold_video-still.jpg'*/}});
//,imgPath:$('#odoslide_active img').attr('src')
	//$("#flashStage").hide();
	//$("#flashStage").show();
//}
};

var video_path='/scweb_assets/swf/scweb09_introV1.swf';
//clearTimeout(flashSkip);
//	id=$('#homeFlashDiv').attr('id')
	$('#homeFlashDiv').flash({swf:'/scweb_assets/swf/scweb09_introV1.swf' ,id:'scweb09_introV1' ,width:'960' ,height:'436' ,params:{wmode:'transparent'},data:'/scweb_assets/swf/scweb09_introV1.swf' ,flashvars:{flvPath:video_path/*, imgPath:'http://odopod.com/assets/images/white-gold_video-still.jpg'*/}});
						   //alert("josh");
//if($("#homeFlashDiv").html()=='noFlash'){
//callNoFlash();
//}
});