function callFlash (path,containerID,width,height) {
	var flashvars = {};
	var params = {menu:"false",wmode:"transparent"};
	var attributes = {};
	swfobject.embedSWF(path, containerID, width, height, "10.0.0", "expressInstall.swf", flashvars, params, attributes);
	document.write("<div id=\""+containerID+"\"><a href=\"http://www.adobe.com/go/getflashplayer\" target=\"_blank\"><img src=\"http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif\" alt=\"لطفاً فلش پلیر را از این لینک دانلود نمایید.\" /></a></div>");
}

jQuery(document).ready(function(){ 
	//jQuery('.moduletabletopnav ul.menu > li.parent').hoverIntent(config);
	jQuery('#backtop').click(function() {
		jQuery('body,html').animate({scrollTop:0},800);
	});
			
	jQuery("div.subCategory").fadeTo(500, 0.5);
	jQuery("div.subCategory").hover(function(){ 
		jQuery(this).fadeTo("slow", 1.0);
	},function(){ 
	jQuery(this).fadeTo("slow", 0.5);
	});
	
	jQuery(".login .content").hide();
	jQuery(".login .heading").click(function()
	{
		jQuery(this).next(".login .content").fadeToggle(500,function() {
    		jQuery(".login .heading").toggleClass('active');
  		});
	});

});


