
//jkmegamenu.definemenu("anchorid", "menuid", "mouseover|click")
jkmegamenu.definemenu("megaanchor", "megamenu1", "mouseover")
jkmegamenu.definemenu("megaanchor1", "megamenu2", "mouseover")
jkmegamenu.definemenu("megaanchor2", "megamenu3", "mouseover")
jkmegamenu.definemenu("megaanchor5", "megamenu5", "mouseover")
jkmegamenu.definemenu("megaanchor4", "megamenu4", "mouseover")


jQuery(document).ready(function(){ 
//this is the code to make the tab active when the mouse is is on the accordion of it 
jQuery('#megamenu1').mouseover(function(){
//alert('this is a test');
jQuery('#megaanchor').addClass('active1');
});
jQuery('#megamenu1').mouseout(function() {
 jQuery('#megaanchor').removeClass('active1');
});



jQuery('#megamenu2').mouseover(function(){
//alert('this is a test');
jQuery('#megaanchor1').addClass('active2');
});
jQuery('#megamenu2').mouseout(function() {
 jQuery('#megaanchor1').removeClass('active2');
});



jQuery('#megamenu3').mouseover(function(){
//alert('this is a test');
jQuery('#megaanchor2').addClass('active3');
});
jQuery('#megamenu3').mouseout(function() {
 jQuery('#megaanchor2').removeClass('active3');
});



jQuery('#megamenu5').mouseover(function(){
//alert('this is a test');
jQuery('#megaanchor5').addClass('active4');
});
jQuery('#megamenu5').mouseout(function() {
 jQuery('#megaanchor5').removeClass('active4');
});
jQuery('#megamenu4').mouseover(function(){
//alert('this is a test');
jQuery('#megaanchor4').addClass('active5');
});
jQuery('#megamenu4').mouseout(function() {
 jQuery('#megaanchor4').removeClass('active5');
});

if ( $.browser.msie ) {
			var ie=$.browser.version;
			if($.browser.version < 7.0) {
			jQuery.colorbox({href:'iewar.php',width:'800',height:'530',iframe:true});
			}
			}
			jQuery("a[rel='vid']").colorbox({href:'video.php',width:'722',height:'480',iframe:true});
				jQuery("a[rel='regards2']").colorbox({height:"400",width:"500"});
			jQuery("a[rel='regards']").colorbox({height:"400",width:"500"});
		jQuery("a[rel='aboutusbio']").colorbox({height:"500",width:"800"});
		jQuery("a[rel='aboutusbio2']").colorbox({height:"400",width:"600"});
jQuery("a[rel='color_login']").colorbox({href:'login.php?action=login&FROM=',width:'520',height:'500',iframe:true});
		jQuery("a[rel='color_login2']").colorbox({href:'login.php?action=login',width:'520',height:'500',iframe:true});
		jQuery("a[rel='login_utility']").colorbox({href:'registration_utility.php?action=login',width:'520',height:'500',iframe:true});
		//$("a[rel='color_login']").colorbox({width:"480", height:"450", iframe:true});

		jQuery("a[rel='color_signup']").colorbox({width:"480", height:"500", iframe:true , href : 'registration.php?action=registration'});
		$("a[rel='color_create']").colorbox({width:"480", height:"500",iframe:true});
		$("a[rel='color_brfore']").colorbox({href:"registration.php?action=login&FROM=beforresult",width:"480", height:"500", iframe:true});

		});
		function Showvideo()
{	jQuery.colorbox({href:'video.php',width:'722',height:'480',iframe:true});
	
}
function ShowMac()
{

                        jQuery.colorbox({href:'macwar.php',width:'515',height:'300',iframe:true});

}
