var avenir = {
						src: '/resources/swf/avenir.swf'
				  };
var avenir1 = {
						src: '/resources/swf/avenir1.swf'
				  }
var myriadRegular = {
						src: '/resources/swf/myriadRegular.swf'
					};

				  
				  sIFR.activate(avenir);
				  sIFR.activate(avenir1);
				  sIFR.activate(myriadRegular);
				  
/*sIFR.replace(myriadRegular, { 
    css: [ 
        '.sIFR-root { background-color:transparent; color: #060101; cursor:pointer; font-size:13px; }', 
        'a { color: #060101; text-decoration:none; }', 
        'a:hover { color: #858181; text-decoration:none; }' 
    ], 
    fitExactly:true, 
    forceClear:true, 
    forceSingleLine:true, 
    selector: '#topNav ul li', 
    transparent:true 
}); */
sIFR.replace(myriadRegular, { 
    css: [ 
        '.sIFR-root { background-color:transparent; color: #060101; cursor:pointer; font-size:13px; }', 
        'a { color: #858181; text-decoration:none; }', 
        'a:hover { color: #858181; text-decoration:none; }' 
    ], 
    fitExactly:true, 
    forceClear:true, 
    forceSingleLine:true, 
    selector: '.active', 
    transparent:true 
}); 
sIFR.replace(myriadRegular, { 
    css: [ 
        '.sIFR-root { background-color:transparent; color: #060101; cursor:pointer; font-size:13px; }', 
        'a { color: #060101; text-decoration:none; }', 
        'a:hover { color: #858181; text-decoration:none; }' 
    ], 
    fitExactly:true, 
    forceClear:true, 
    forceSingleLine:true, 
    selector: '.nactive', 
    transparent:true 
});

sIFR.replace(avenir1, { 
    css: [ 
        '.sIFR-root { color: #ffffff; cursor:pointer; font-size:13px; }', 
        'a { color: #ffffff; text-decoration:none; }', 
        'a:hover { color: #000000; text-decoration:none; }' 
    ], 
    fitExactly:true, 
    forceClear:true, 
    selector: '#hdrNav ul li', 
    transparent:true 
}); 
/*
sIFR.replace(myriadRegular, {
						selector: '#topLinkAbout',   css: [
					  '.sIFR-root { font-size:13px; color:#060101; cursor:pointer; background-color:transparent; }'], wmode: 'transparent', fitExactly:true, forceClear:true, forceSingleLine:true, transparent:true
				  });

sIFR.replace(myriadRegular, {
						selector: '#topLinkPart',   css: [
					  '.sIFR-root { font-size:13px; color:#060101; cursor:pointer; background-color:transparent; }'], wmode: 'transparent', fitExactly:true, forceClear:true, forceSingleLine:true, transparent:true
				  });

sIFR.replace(myriadRegular, {
						selector: '#topLinkNews',   css: [
					  '.sIFR-root { font-size:13px; color:#060101; cursor:pointer; background-color:transparent; }'], wmode: 'transparent', fitExactly:true, forceClear:true, forceSingleLine:true, transparent:true
				  });

sIFR.replace(myriadRegular, {
						selector: '#topLinkCont',   css: [
					  '.sIFR-root { font-size:13px; color:#060101; cursor:pointer; background-color:transparent; }'], wmode: 'transparent', fitExactly:true, forceClear:true, forceSingleLine:true, transparent:true
				  });

*/
 
 function displaySub(navId,subId)
 {
	var offset = $("#"+navId).offset();
	var left = offset.left;
	var top = offset.top;
	top = top + 132;
	
	$("#"+subId).css({left: left,top: top}).show();
 }
 function hide(subId)
 {
	 $("#"+subId).hide();
 } 
 
