//last edited by ltooz 1/19/2011 adding scrollables.
$jQ(document).ready(function() {
$jQ(".quote").fancybox({
		'titlePosition'		: 'inside',
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
$jQ("ul.tabs").tabs("div.panes > div");
	$jQ("#flowpanes").scrollable({ circular: true, mousewheel: true }).navigator({

		// select #flowtabs to be used as navigator
		navi: "#flowtabs",

		// select A tags inside the navigator to work as items (not direct children)
		naviItem: 'a',

		// assign "current" class name for the active A tag inside navigator
		activeClass: 'current',

		// make browser's back button work
		history: true

	});
	$jQ(".scrollable").scrollable({ vertical: true, mousewheel: true });	
$jQ(".quick").fancybox({
'overlayColor': '#000',
   'hideOnContentClick': true,
   'transitionIn': 'elastic',
   'transitionOut': 'fade',
   'speedIn':  250,
   'speedOut': 150,
   'frameWidth': 645,
   'frameHeight': 385,
   'overlayShow': true,
   'overlayOpacity': 0.90,
   'callbackOnClose': function() { $jQ("#fancy_content").empty();}
});
$jQ(".quickw").fancybox({
'overlayColor': '#fff',
   'hideOnContentClick': true,
   'transitionIn': 'elastic',
   'transitionOut': 'fade',
   'speedIn':  250,
   'speedOut': 150,
   'frameWidth': 645,
   'frameHeight': 385,
   'overlayShow': true,
   'overlayOpacity': 0.90,
   'callbackOnClose': function() { $jQ("#fancy_content").empty();}
});
$jQ(".quickbl").fancybox({
'overlayColor': '#153E7E',
   'hideOnContentClick': true,
   'transitionIn': 'elastic',
   'transitionOut': 'fade',
   'speedIn':  250,
   'speedOut': 150,
   'frameWidth': 645,
   'frameHeight': 385,
   'overlayShow': true,
   'overlayOpacity': 0.90,
   'callbackOnClose': function() { $jQ("#fancy_content").empty();}
});
$jQ(".quickr").fancybox({
'overlayColor': '#800571',
   'hideOnContentClick': true,
   'transitionIn': 'elastic',
   'transitionOut': 'fade',
   'speedIn':  250,
   'speedOut': 150,
   'frameWidth': 645,
   'frameHeight': 385,
   'overlayShow': true,
   'overlayOpacity': 0.90,
   'callbackOnClose': function() { $jQ("#fancy_content").empty();}
});
$jQ(".nonverblaster").click(function() {
	$jQ.fancybox({
        'padding':0,
 'hideOnContentClick': true,
        'overlayColor': '#fff',
        'transitionIn':	'elastic',
	'transitionOut'	:'fade',
	'speedIn': 250,
	'speedOut': 250,
	'overlayOpacity':0.9,
	'title'			: this.title,
	'width'			: 640,
	'height'		: 385,
        'content': '/fancybox/NonverBlaster.swf?&amp;mediaURL='+this.href+'&amp;autoPlay=true',
        'type'			: 'swf',
        'swf'			: {
			   	 'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			}
        });
        return false;
	});

$jQ(".jwplayer").click(function() {
	$jQ.fancybox({
        'padding':0,
 
        'overlayColor': '#fff',
        'transitionIn':	'elastic',
	'transitionOut'	:'fade',
	'speedIn': 250,
	'speedOut': 250,
	'overlayOpacity':0.9,
	'title'			: this.title,
	'width'			: 640,
	'height'		: 385,
        'content': '/fancybox/player.swf?&amp;file='+this.href+'&amp;autostart=true',
        'type'			: 'swf',
        'swf'			: {
			   	 'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			}
        });
        return false;
	});
$jQ(".fancyYoutube").fancybox({
 
'transitionIn' : 'elastic',
'padding' : 0,
'autoScale' : false,
'transitionOut' : 'fade',
'width' : 680,
'height' : 495,
'type' : 'swf'
});

$jQ(".pdf").fancybox({
'padding' : 7,
		'width'				: '90%',
		'height'			: '90%',
        'autoScale'     	: true,
         'transitionIn':	'elastic',
	'transitionOut'	:'fade',
	'speedIn': 250,
	'speedOut': 250,
		'type'				: 'iframe'
	});
$jQ(".iu").click(function() {
	$jQ.fancybox({
        'padding':7,
        'overlayColor': '#fff',
        'transitionIn':	'elastic',
	'transitionOut'	:'elastic',
	'speedIn': 250,
	'speedOut': 250,
	'overlayOpacity':0.9,
	'title'			: this.title,
	'width'			: 640,
	'height'		: 385,
        'autoScale'     	: false,
        'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'embed/'),
	'type'			: 'iframe'
        });
        return false;
	});

$jQ(".iuw").click(function() {
	$jQ.fancybox({
        'padding':7,
        'overlayColor': '#fff',
        'transitionIn':	'elastic',
	'transitionOut'	:'elastic',
	'speedIn': 250,
	'speedOut': 250,
	'overlayOpacity':0.9,
	'title'			: this.title,
	'width'			: 640,
	'height'		: 385,
        'autoScale'     	: false,
        'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'embed/'),
	'type'			: 'iframe'
        });
        return false;
	});

$jQ(".iub").click(function() {
	$jQ.fancybox({
        'padding':7,
        'overlayColor': '#000',
        'transitionIn':	'elastic',
	'transitionOut'	:'elastic',
	'speedIn': 250,
	'speedOut': 250,
	'overlayOpacity':0.9,
	'title'			: this.title,
	'width'			: 640,
	'height'		: 385,
        'autoScale'     	: false,
        'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'embed/'),
	'type'			: 'iframe'
        });
        return false;
	});

$jQ(".iur").click(function() {
	$jQ.fancybox({
        'padding':7,
        'overlayColor': '#800517',
        'transitionIn':	'elastic',
	'transitionOut'	:'elastic',
	'speedIn': 250,
	'speedOut': 250,
	'overlayOpacity':0.9,
	'title'			: this.title,
	'width'			: 640,
	'height'		: 385,
        'autoScale'     	: false,
        'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'embed/'),
	'type'			: 'iframe'
        });
        return false;
	});

$jQ(".iubl").click(function() {
	$jQ.fancybox({
        'padding':7,
        'overlayColor': '#153E7E',
        'transitionIn':	'elastic',
	'transitionOut'	:'elastic',
	'speedIn': 250,
	'speedOut': 250,
	'overlayOpacity':0.9,
	'title'			: this.title,
	'width'			: 640,
	'height'		: 385,
        'autoScale'     	: false,
        'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'embed/'),
	'type'			: 'iframe'
        });
        return false;
	});

$jQ(".myvideo").fancybox({
'padding':7,
'autoScale'		: false,

'scrolling'   		: 'no',
		'width': 640, 
		'height': 385,
		'overlayOpacity': 0.9,
'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			});
$jQ(".wmpb").fancybox({
'overlayColor': '#000',
'padding':7,
'autoScale'		: false,

'scrolling'   		: 'no',
		'width': 640, 
		'height': 385,
		'overlayOpacity': 0.8,
'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			});
$jQ(".wmpw").fancybox({
'overlayColor': '#fff',
'padding':7,
'autoScale'		: false,

'scrolling'   		: 'no',
		'width': 640, 
		'height': 385,
		'overlayOpacity': 0.8,
'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			});
$jQ(".wmpbl").fancybox({
'overlayColor': '#153E7E',
'padding':7,
'autoScale'		: false,

'scrolling'   		: 'no',
		'width': 640, 
		'height': 385,
		'overlayOpacity': 0.8,
'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			});
$jQ(".wmpr").fancybox({
'overlayColor': '#800517',
'padding':7,
'autoScale'		: false,

'scrolling'   		: 'no',
		'width': 640, 
		'height': 385,
		'overlayOpacity': 0.8,
'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			});

$jQ(".youtube").click(function() {
	$jQ.fancybox({
                        'overlayOpacity':0.9,
                        
			'padding'		: 0,
			'autoScale'		: false,
			'title'			: this.title,
			'width'		: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});
$jQ(".youtubebl").click(function() {
	$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#153E7E',
			'padding'		: 0,
			'autoScale'		: false,
			'title'			: this.title,
			'width'		: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'transparent',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});

$jQ(".youtubeb").click(function() {
	$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#000',
			'padding'		: 0,
			'autoScale'		: false,
			'title'			: this.title,
			'width'		: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'opaque',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});

$jQ(".youtubew").click(function() {
	$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#fff',
			'padding'		: 0,
			'autoScale'		: false,
			'title'			: this.title,
			'width'		: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'opaque',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});

$jQ(".youtuber").click(function() {
	$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#800517',
			'padding'		: 0,
			'autoScale'		: false,
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'width'		: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'opaque',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});

$jQ(".youtubeplbl").click(function() {
	$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#153E7E', 
			'padding'		: 1,
			'autoScale'		: false,
			'title'			: this.title,
			'width'		: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("view_play_list\\?p=", "i"), 'p/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'opaque',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});



$jQ(".youtubeplr").click(function() {
	$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#800517', 
			'padding'		: 1,
			'autoScale'		: false,
			'title'			: this.title,
			'width'		: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("view_play_list\\?p=", "i"), 'p/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'opaque',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});


$jQ(".youtubeplw").click(function() {
	$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#fff', 
			'padding'		: 1,
			'autoScale'		: false,
			'title'			: this.title,
			'width'		: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("view_play_list\\?p=", "i"), 'p/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'opaque',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});


$jQ(".youtubeplb").click(function() {
	$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#000', 
			'padding'		: 1,
			'autoScale'		: false,
			'title'			: this.title,
			'width'		: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("view_play_list\\?p=", "i"), 'p/'),
			'type'			: 'swf',
			'swf'			: {
			   	 'wmode'		: 'opaque',
				'allowfullscreen'	: 'true'
			}
		});

	return false;
});

$jQ("a.vimeor").click(function() {
		$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#800517',
			'padding'		: 0,
			'autoScale'		: false,
                        'transitionIn':	'elastic',
	                'transitionOut'	:'elastic',
			'speedIn'		:	200, 
		        'speedOut'		:	200, 
			'title'			: this.title,
			'width'			: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("[0-9]", "i"), 'moogaloop.swf?clip_id=1'),
			'type'			: 'iframe',
                        'scrolling'   		: 'no'
                           
		});

		return false;
	});

$jQ("a.vimeobl").click(function() {
		$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#153E7E',
			'padding'		: 0,
			'autoScale'		: false,
                        'transitionIn':	'elastic',
	                'transitionOut'	:'elastic',
			'speedIn'		:	200, 
		        'speedOut'		:	200, 
			'title'			: this.title,
			'width'			: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("[0-9]", "i"), 'moogaloop.swf?clip_id=1'),
			'type'			: 'iframe',
                        'scrolling'   		: 'no'
                       
		        
		});

		return false;
	});

$jQ("a.vimeob").click(function() {
		$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#000',
			'padding'		: 0,
			'autoScale'		: false,
			'transitionIn':	'elastic',
	                'transitionOut'	:'elastic',
                        'speedIn'		:	200, 
		        'speedOut'		:	200, 
			'title'			: this.title,
			'width'			: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("[0-9]", "i"), 'moogaloop.swf?clip_id=1'),
			'type'			: 'iframe',
                        'scrolling'   		: 'no'
                        
		        
		});

		return false;
	});

$jQ("a.vimeow").click(function() {
		$jQ.fancybox({
                        'overlayOpacity':0.9,
                        'overlayColor': '#fff',
			'padding'		: 0,
			'autoScale'		: false,
                        'transitionIn':	'elastic',
	                'transitionOut'	:'elastic',
			'speedIn'		:	200, 
		        'speedOut'		:	200, 
			'title'			: this.title,
			'width'			: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("[0-9]", "i"), 'moogaloop.swf?clip_id=1'),
			'type'			: 'iframe',
                        'scrolling'   		: 'no'
                        
		});

		return false;
	});

$jQ('.ivideow').fancybox({
//'titlePosition'			: 'inside',
                'overlayOpacity':0.9,
		'padding'			: 0,
		'overlayColor': '#fff',
                'speedIn'		:	200, 
		'speedOut'		:	200, 
		'autoScale'     	: false,
		'type'				: 'iframe',
		'width'				: 640,
		'height'			: 385,
		'scrolling'   		: 'no'
		
		});

$jQ('.ivideob').fancybox({

                'overlayOpacity':0.9,
		'padding'			: 0,
		'overlayColor': '#000',
                'speedIn'		:	200, 
		'speedOut'		:	200, 
		'autoScale'     	: false,
		'type'				: 'iframe',
		'width'				: 640,
		'height'			: 385,
		'scrolling'   		: 'no'
		
		});

$jQ('.ivideobl').fancybox({
//'titlePosition'			: 'inside',
                'overlayOpacity':0.9,
		'padding'			: 0,
		'overlayColor': '#153E7E',
                'speedIn'		:	200, 
		'speedOut'		:	200, 
		'autoScale'     	: false,
		'type'				: 'iframe',
		'width'				: 640,
		'height'			: 385,
		'scrolling'   		: 'no'
		
		});

$jQ('.ivideor').fancybox({
//'titlePosition'			: 'inside',
                'overlayOpacity':0.9,
		'padding'			: 0,
		'overlayColor': '#800517',
                'speedIn'		:	200, 
		'speedOut'		:	200, 
		'autoScale'     	: false,
		'type'				: 'iframe',
		'width'				: 640,
		'height'			: 385,
		'scrolling'   		: 'no'
		
		});

$jQ('.swfw').fancybox({
//'titlePosition'			: 'inside',
                'overlayOpacity':0.9,
		'padding'			: 0,
		'overlayColor': '#fff',
	        'speedIn'		:	200, 
		'speedOut'		:	200, 
		'autoScale'     	: false,
		'type'				: 'swf',
		'width'				: 640,
		'height'			: 385,
		'scrolling'   		: 'no',
		'swf'                   : {'allowfullscreen':'true', 'wmode':'opaque'}
			
		});

$jQ('.swfb').fancybox({
//'titlePosition'			: 'inside',
                'overlayOpacity':0.9,
		'padding'			: 0,
		'overlayColor': '#000',
	        'speedIn'		:	200, 
		'speedOut'		:	200,
		'autoScale'     	: false,
		'type'				: 'swf',
		'width'				: 640,
		'height'			: 385,
		'scrolling'   		: 'no',
		'swf'                   : {'allowfullscreen':'true', 'wmode':'opaque'}
			
		});

$jQ('.swfbl').fancybox({
//'titlePosition'			: 'inside',
                'overlayOpacity':0.9,
		'padding'			: 0,
		'overlayColor': '#153E7E',
	        'speedIn'		:	200, 
		'speedOut'		:	200, 
		'autoScale'     	: false,
		'type'				: 'swf',
		'width'				: 640,
		'height'			: 385,
		'scrolling'   		: 'no',
		'swf'                   : {'allowfullscreen':'true', 'wmode':'opaque'}
			
		});

$jQ('.swfr').fancybox({
//'titlePosition'			: 'inside',
                'overlayOpacity':0.9,
		'padding'			: 0,
		'overlayColor': '#500817',
	        'speedIn'		:	200, 
		'speedOut'		:	200, 
		'autoScale'     	: false,
		'type'				: 'swf',
		'width'				: 640,
		'height'			: 385,
		'scrolling'   		: 'no',
		'swf'                   : {'allowfullscreen':'true', 'wmode':'opaque'}
		});

$jQ("a.ir").fancybox({
        'padding':0,
	'overlayOpacity':0.9,
	'overlayColor': '#800517',
	'speedIn': 200,
	'speedOut': 200,
	'width'				: '95%',
	'height'			: '99%',
        'autoScale'     	: false,
		'type'				: 'iframe'
        
	});

$jQ("a.iw").fancybox({
        'padding':0,
	'overlayOpacity':0.9,
	'overlayColor': '#fff',
		'speedIn': 400,
	'speedOut': 200,
		'width'				: '95%',
		'height'			: '99%',
        'autoScale'     	: false,
		'type'				: 'iframe'
	});

$jQ("a.ib").fancybox({
        'padding':0,
	'overlayOpacity':0.9,
	'overlayColor': '#000',
		'speedIn': 200,
	'speedOut': 200,
		'width'				: '95%',
		'height'			: '99%',
        'autoScale'     	: false,
		'type'				: 'iframe'
	});

$jQ("a.ibl").fancybox({
        'padding':0,
	'overlayOpacity':0.9,
	'overlayColor': '#153E7E',
		'speedIn': 200,
	'speedOut': 200,
		'width'				: '95%',
		'height'			: '99%',
        'autoScale'     	: true,
		'type'				: 'iframe'
	});

$jQ(".playlistb").fancybox({ 
			'padding':1,
			'overlayColor': '#000',
			'overlayOpacity':0.9,
			'hideOnContentClick': false,
			'scrolling':'no',
			'callbackOnClose': function() {
       $jQ("#fancy_content").empty();
       } 
			});
	
$jQ(".playlistw").fancybox({ 
			'padding':1,
			'overlayColor': '#fff',
			'overlayOpacity':0.9,
			'hideOnContentClick': false,
			'scrolling':'no',
			'callbackOnClose': function() {
       $jQ("#fancy_content").empty();
       } 
			});

$jQ(".playlistr").fancybox({ 
			'padding':1,
			'overlayColor': '#800517',
			'overlayOpacity':0.95,
			'hideOnContentClick': false,
			'scrolling':'no',
			'callbackOnClose': function() {
       $jQ("#fancy_content").empty();
       } 
			});

$jQ(".playlistbl").fancybox({ 
			'padding':1,
			'overlayColor': '#153E7E',
			'overlayOpacity':0.9,
			'hideOnContentClick': false,
			'scrolling':'no',
			'callbackOnClose': function() {
       $jQ("#fancy_content").empty();
       } 
			});

$jQ("a.ltooz").fancybox({
'padding':0,
		'overlayColor': '#800517',
'hideOnContentClick': true,
'overlayOpacity':0.9,
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200 
		
	});
	
	$jQ("a.ltoozw").fancybox({
'padding':0,
		'overlayColor': '#fff',
'overlayOpacity':0.9,
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200 
		
	});

	$jQ("a.ltoozb").fancybox({
'padding':0,
		'overlayColor': '#000',
'overlayOpacity':0.9,
'hideOnContentClick': true,
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200 
		
	});
	
		$jQ("a.ltoozbl").fancybox({
'padding':0,
		'overlayColor': '#153E7E',
 'hideOnContentClick': true,
'overlayOpacity':0.9,
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200 
		
	});
	
		$jQ("a.ltoozr").fancybox({
'padding':0,
		'overlayColor': '#800517',
 'hideOnContentClick': true,
'overlayOpacity':0.9,
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200 
		
	});
	
	$jQ("a.hover").fancybox({
                'padding':0,
 'hideOnContentClick': true,
		'overlayColor': '#800517',
                'overlayOpacity':0.9,
                'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200, 
		
	        'titlePosition'	:	'over',
	        'onComplete'	:	function() {
		$jQ("#fancybox-wrap").hover(function() {
			$jQ("#fancybox-title").show();
		}, function() {
			$jQ("#fancybox-title").hide();
		});
	}
});
$jQ("a.hoverw").fancybox({
                'padding':0,
 'hideOnContentClick': true,
		'overlayColor': '#fff',
                'overlayOpacity':0.9,
                'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200, 
		
	        'titlePosition'	:	'over',
	        'onComplete'	:	function() {
		$jQ("#fancybox-wrap").hover(function() {
			$jQ("#fancybox-title").show();
		}, function() {
			$jQ("#fancybox-title").hide();
		});
	}
});

$jQ("a.hoverb").fancybox({
                'padding':0,
 'hideOnContentClick': true,
		'overlayColor': '#000',
                'overlayOpacity':0.9,
                'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200, 
		
	        'titlePosition'	:	'over',
	        'onComplete'	:	function() {
		$jQ("#fancybox-wrap").hover(function() {
			$jQ("#fancybox-title").show();
		}, function() {
			$jQ("#fancybox-title").hide();
		});
	}
});

$jQ("a.hoverr").fancybox({
                'padding':0,
 'hideOnContentClick': true,
		'overlayColor': '#800517',
                'overlayOpacity':0.9,
                'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200, 
		
	        'titlePosition'	:	'over',
	        'onComplete'	:	function() {
		$jQ("#fancybox-wrap").hover(function() {
			$jQ("#fancybox-title").show();
		}, function() {
			$jQ("#fancybox-title").hide();
		});
	}
});

$jQ("a.hoverbl").fancybox({
                'padding':0,
 'hideOnContentClick': true,
		'overlayColor': '#153E7E',
                'overlayOpacity':0.9,
                'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200, 
		
	        'titlePosition'	:	'over',
	        'onComplete'	:	function() {
		$jQ("#fancybox-wrap").hover(function() {
			$jQ("#fancybox-title").show();
		}, function() {
			$jQ("#fancybox-title").hide();
		});
	}
});
$jQ(".moview").fancybox({ 
        	'padding':0,
		'overlayColor': '#fff',
	        'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200, 
                'height': 340,
                'frameHeight': 600,
                'overlayOpacity':0.9,
		'hideOnContentClick': false,
                'scrolling':'no',
                'callbackOnClose': function() {
    $jQ("#fancy_content").empty();
    } 
			});
$jQ(".movieb").fancybox({ 
        	'padding':1,
		'overlayColor': '#000',
	        'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200, 
                'height': 340,
                'frameHeight': 600,
                'overlayOpacity':0.9,
		'hideOnContentClick': false,
                'scrolling':'no',
		'callbackOnClose': function() {
    $jQ("#fancy_content").empty();
    } 
			});
$jQ(".movier").fancybox({ 
        	'padding':1,
		'overlayColor': '#800571',
	        'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200, 
                'height': 340,
                'frameHeight': 600,
                'overlayOpacity':0.9,
		'hideOnContentClick': false,
                'scrolling':'no',
		'callbackOnClose': function() {
    $jQ("#fancy_content").empty();
    } 
			});
$jQ(".moviebl").fancybox({ 
        	'padding':1,
		'overlayColor': '#153E7E',
	        'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	200, 
		'speedOut'		:	200, 
                'height': 385,
                'frameHeight': 600,
                'overlayOpacity':0.9,
		'hideOnContentClick': false,
                'scrolling':'no',
		'callbackOnClose': function() {
    $jQ("#fancy_content").empty();
    } 
			});
});
			
$jI(document).ready(function () {
  // find the elements to be eased and hook the hover event
  $jI('div.jimgMenu ul li a').hover(function() {  
    // if the element is currently being animated
    if ($jI(this).is(':animated')) {
      $jI(this).addClass("active").stop().animate({width: "650px"}, {duration: 450, easing: "easeOutQuad", complete: "callback"});
    } else {
      // ease in quickly
      $jI(this).addClass("active").stop().animate({width: "650px"}, {duration: 400, easing: "easeOutQuad", complete: "callback"});
    }
  }, function () {
    // on hovering out, ease the element out
    if ($jI(this).is(':animated')) {
      $jI(this).removeClass("active").stop().animate({width: "41px"}, {duration: 400, easing: "easeInOutQuad", complete: "callback"})
    } else {
      // ease out slowly
      $jI(this).removeClass("active").stop(':animated').animate({width: "41px"}, {duration: 450, easing: "easeInOutQuad", complete: "callback"});
    }
  });
});

