/* get swf */
var ITC = { src: '../assets/GillSansLight.swf' };

/* activate */
sIFR.activate(ITC);

/* deactivate fix to allow onRelease-function */
sIFR.fixHover = false;

/* REPLACE & STYLE */

/* TITLE */
sIFR.replace(ITC, {
  selector: 'h1.title',
  css: [
  '.sIFR-root { color: #ffffff; font-size: 26px; }'
  ],
  wmode: 'transparent'
});

/* TITLE DETAILPAGINA*/
sIFR.replace(ITC, {
  selector: 'h1.titleBig',
  css: [
  '.sIFR-root { color: #ffffff; font-size: 40px; }'
  ],
  wmode: 'transparent'
});

/* SUBTITLE DETAILPAGINA*/
sIFR.replace(ITC, {
  selector: 'p.detailTitle strong',
  tuneHeight: '-5',
  css: [
  '.sIFR-root { color: #ffffff; font-size: 20px;}'
  ],
  wmode: 'transparent'
});

sIFR.replace(ITC, {
  selector: 'p.detailTitleNoMargin strong',
  tuneHeight: '-5',
  css: [
  '.sIFR-root { color: #ffffff; font-size: 20px;}'
  ],
  wmode: 'transparent'
});


/* BUTTON */
sIFR.replace(ITC, {
  selector: 'div.button p',
  css: [
  '.sIFR-root { font-size: 16px; cursor: pointer; }',
  'a { color: #000000; cursor: pointer; text-decoration: none; cursor: pointer; }',
  'a:hover {color: #666666; }'
  ],
  wmode: 'transparent',
  onRelease: function() {
	  MM_goToURL('parent','decooh-member.aspx');
  }
});
sIFR.replace(ITC, {
  selector: 'div.info',
  css: [
  '.sIFR-root { font-size: 16px; cursor: pointer; }',
  'a { color: #000000; cursor: pointer; text-decoration: none;}',
  'a:hover {color: #666666; }'
  ],
  wmode: 'transparent',
  onRelease: function() {
	  MM_goToURL('parent','decooh-member.aspx');
  }
});

/* MEMBER */
sIFR.replace(ITC, {
  selector: 'h1.memberSide',
  css: [
  '.sIFR-root { color: #311616; font-size: 17px; cursor: pointer; }',  
  'strong { color: #311616; font-size: 17px; cursor: pointer; font-weight: bold; }'
  ],
  wmode: 'transparent'
});

/* MEMBER */
sIFR.replace(ITC, {
  selector: 'h1.member',
  css: [
  '.sIFR-root { color: #311616; font-size: 20px; leading: 7; cursor: pointer; }',  
  'strong { color: #311616; font-size: 20px; leading: 7; cursor: pointer; font-weight: bold; }'
  ],
  wmode: 'transparent'
});

/* NAV MENU */
sIFR.replace(ITC, {
  selector: 'h1.sub1',
  css: [
  '.sIFR-root { float: left; color: #311616; font-size: 16px; cursor: pointer; }',
  'a {color: #311616; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}',
  'a em {font-variant: italic;}'  
  ],
  tuneHeight: '-10',
  wmode: 'transparent',
  onRelease: function(fi) {
	  if (activeTab != 1) {
		  if (activeTab != 0) { $("#menu" + activeTab).slideUp(); };
		  activeTab = 1;
	  };
	  MM_goToURL('parent','index.aspx');
  }
});

sIFR.replace(ITC, {
  selector: 'h1.sub2',
  css: [
  '.sIFR-root { float: left; color: #311616; font-size: 16px; cursor: pointer; }',
  'a {color: #311616; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
  ],
  wmode: 'transparent',
  tuneHeight: '-10',
  onRelease: function(fi) { 
	  if (activeTab != 2) {
		  if (activeTab != 0) { $("#menu" + activeTab).slideUp(); };
		  $("#menu2").slideToggle();
		  activeTab = 2;
	  }
	  else {
		  $("#menu2").slideToggle();
	  };
   }
});

sIFR.replace(ITC, {
  selector: 'h1.sub3',
  css: [
  '.sIFR-root { float: left; color: #311616; font-size: 16px; cursor: pointer; }',
  'a {color: #311616; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
  ],
  wmode: 'transparent',
  tuneHeight: '-10',
  onRelease: function(fi) { 
	  if (activeTab != 3) {
		  if (activeTab != 0) { $("#menu" + activeTab).slideUp(); };
		  $("#menu3").slideToggle();
		  activeTab = 3;
	  }
	  else {
		  $("#menu3").slideToggle();
	  };
  }
});

sIFR.replace(ITC, {
  selector: 'h1.sub4',
  css: [
  '.sIFR-root { float: left; color: #311616; font-size: 16px; cursor: pointer; }',
  'a {color: #311616; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
  ],
  wmode: 'transparent',
  tuneHeight: '-10',
  onRelease: function(fi) {
	  if (activeTab != 4) {
		  if (activeTab != 0) { $("#menu" + activeTab).slideUp(); };
		  $("#menu4").slideToggle();
		  activeTab = 4;
	   }
       else {
		  $("#menu4").slideToggle();
	   };
  }
});

sIFR.replace(ITC, {
  selector: 'h1.sub5',
  css: [
  '.sIFR-root { float: left; color: #311616; font-size: 16px; cursor: pointer; }',
  'a {color: #311616; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
  ],
  wmode: 'transparent',
  tuneHeight: '-10',
  onRelease: function(fi) {
	  if (activeTab != 5) {
		  if (activeTab != 0) { $("#menu" + activeTab).slideUp(); };
		  $("#menu5").slideToggle();
		  activeTab = 5;
	  }
	  else {
		  $("#menu5").slideToggle();
	   };
  }
});

sIFR.replace(ITC, {
  selector: 'h1.sub6',
  css: [
  '.sIFR-root { float: left; color: #311616; font-size: 16px; cursor: pointer; }',
  'a {color: #311616; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
  ],
  wmode: 'transparent',
  tuneHeight: '-10',
  onRelease: function(fi) {
	  if (activeTab != 6) {
		  if (activeTab != 0) { $("#menu" + activeTab).slideUp(); };
		  $("#menu6").slideToggle();
		  activeTab = 6;
	  }
	  else {
		  $("#menu6").slideToggle();
	   };
  }
});


/*TABTITLES*/
sIFR.replace(ITC, {
  selector: 'div.tabTitle p.title',
  css: [
  '.sIFR-root { float: left; color: #ffffff; font-size: 16px;}'
  ],
  tuneHeight: '-10',
  wmode: 'transparent'
});

sIFR.replace(ITC, {
  selector: 'div.tabTitle p.titleCaption',
  css: [
  '.sIFR-root { float: left; color: #999999; font-size: 12px;}'
  ],
  wmode: 'transparent'
});

/* TOOLTIP TITLE */
sIFR.replace(ITC, {
  selector: 'h1.tooltipTitle',
  css: [
  '.sIFR-root { float: left; color: #ffffff; font-size: 16px;}'
  ],
  wmode: 'transparent'
});


/* EXHIBITORS OVERVIEW */
sIFR.replace(ITC, {
  selector: '.labels h2',
  css: [
  '.sIFR-root { color: #ffffff; font-size: 18px; cursor: pointer; font-weight: bold; }'
  ],
  wmode: 'transparent'
});


