if(parent.frames.length!=0) parent.location.replace(location.href);
function $(i){return document.getElementById(i);}
var emailReplaceArray = [['0','@'],[',','.']];
var misio = false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
misio=true;
@end @*/
window.onload = function()
{
 function add_fokus(a)
 {
  var el = a;
  el.onfocus = function() { el.className += " fokus"; }
  el.onblur = function() { el.className = el.className.replace(/( ?fokus)/g, ''); }
 }
 for(var i=0; i<document.links.length; i++)   
 {
  if(document.links[i].rel && document.links[i].rel.match(/(^|\s)external($|\s)/)) document.links[i].target = '_blank';
  if(misio) add_fokus(document.links[i]);
 }
 var replTab = emailReplaceArray;
 for(var i=0; i<replTab.length; i++)
 {
  var s = escape(replTab[i][0].replace(/\s/g, ''));
  replTab[i][0] = s.replace(/%u/g, '\\u').replace(/%/g, '\\x');
 }
 var getEmail = function(s)
 {
  s = s.replace(/\s/g, '');
  for(var i = 0; i < replTab.length; i++)
  {
   s = s.replace(new RegExp(replTab[i][0], 'ig'), replTab[i][1]);
  }
  return s;
 };
 var as = document.getElementsByTagName('a');
 var html = document.getElementsByTagName('html')[0];
 var text = html.textContent != undefined ? 'textContent' : 'innerText';
 for(var i = 0; i < as.length; i++)
 {
  if(!as[i].className.match(/(^|\s)email_address($|\s)/)) continue;
  var email = getEmail(as[i].href);
  as[i].setAttribute('href', email);
 }
 emailReplaceArray = undefined;
 if(typeof(window['isml']) != "undefined") initml();
}
function addfav()
{
 var msg_netscape = "Dodaj nas do ulubionych rcznie.";
 var msg_opera    = "Ta funkcja nie dziaa z t wersj Opery. Dodaj nas do ulubionych rcznie.";
 var msg_other    = "Twoja przegldarka nie wspiera automatycznego dodawania do ulubionych. Dodaj nas do ulubionych rcznie.";
 var agt          = navigator.userAgent.toLowerCase();
 var title        = "Fetysz.tv - ostre fetyszowe filmy porno";
 var url          = "http://ww.fetysz.tv/";
 if (agt.indexOf("opera") != -1) 
 {
  if (window.opera && window.print)
  {
   return true;
  } else 
  {
   alert(msg_other);
  }
 }    
 else if (agt.indexOf("firefox") != -1) window.sidebar.addPanel(title,url,"");
 else if ((agt.indexOf("msie") != -1) && (parseInt(navigator.appVersion) >=4)) window.external.AddFavorite(url,title); 
 else if (agt.indexOf("netscape") != -1) window.sidebar.addPanel(title,url,"")         
 else if (window.sidebar && window.sidebar.addPanel) window.sidebar.addPanel(title,url,""); 
 else alert(msg_other);
 return!1;
}