var imgBalaoBG = new Image;imgBalaoBG.src = "http://209.62.61.234/img/balao_0_gif.gif";var imgTransp = new Image;imgTransp.src = "http://209.62.61.234/img/transp_hotwords_2.gif";try{var qtdAnuncios=0;var tek=true;function hideSure() { this.tek=true; hotwordsEliminaDesaparecerXY = true; hideTitle(); }function hideTitle() {if(!hotwordsEliminaDesaparecerXY){return; } if (this.tek){ return; } window.status = '';if (document.all) {document.all.HOTWordsTitle.style.display = 'none';document.all.HOTWordsTitle.all.HOTWordsTitleText.innerHTML ='';} else {var oLayer = document.getElementById('HOTWordsTitle');oLayer.style.visibility = 'hidden';oLayer.style.display = 'none';} hotwordsEliminaDesaparecerXY = true; }function showSure() { this.tek=true; }function hideMaybe() { this.tek=false; setTimeout("hideTitle();",500); }function detectarFlashInstall() {
var flashinstalled = 0;
var flashversion = 0;
// FF - Netscape - padrão w3c
if (navigator.plugins && navigator.plugins.length) {
x = navigator.plugins["Shockwave Flash"];
if (x){
flashinstalled = 2;
if (x.description){
y = x.description;
flashversion = y.charAt(y.indexOf('.')-1);
}
}
else{
//flashinstalled = 1;
if (navigator.plugins["Shockwave Flash 2.0"]){
flashinstalled = 2;
}
}
}
else if (navigator.mimeTypes && navigator.mimeTypes.length){
x = navigator.mimeTypes['application/x-shockwave-flash'];
if (x && x.enabledPlugin){
flashinstalled = 2;
}
else{
flashinstalled = 1;
}
}
else {
//IE - MAC
if((navigator.appName == "Microsoft Internet Explorer") &&
(navigator.appVersion.indexOf("Mac") == -1 && navigator.appVersion.indexOf("3.1") == -1)
|| (navigator.plugins && navigator.plugins["Shockwave Flash"])){
try{
var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
var version = axo.GetVariable("$version");
var temp1q2w2 = version.split(",");
var temp1q2w = temp1q2w2[0].split(" ");
if(temp1q2w[1] >= 7){
flashinstalled = 2;
}
else {
flashinstalled = 0;
}
}catch(e){}
}
else {
flashinstalled = 0;
}
}
return flashinstalled;
}
palavras = new Array(3);k = new Array(3);koq = new Array(3);qojw = new Array(3);var tempFlashWH = detectarFlashInstall();
palavras[0] = "Festival";k[0] = "1700175439";koq[0] = "1627";qojw[0] = "mostra.jsp?c=39";palavras[1] = "elenco";k[1] = "889356265";koq[1] = "1627";qojw[1] = "mostra.jsp?c=39";palavras[2] = "filme";k[2] = "2015516296";koq[2] = "350";qojw[2] = "mostra.jsp?c=39";function showTitle(e, obj, txt, lnk, lxt, p, rk) {try{ hotwordsEliminaDesaparecerXY = true; this.tek=true;var divId = 1;var divElement = null;var xxx= "
 |  |  | | ";xxx = xxx + " | ";xxx = xxx + "
|
";if (divId!=""){divElement = document.getElementById(divId);}var Yposition,Xposition,Yevent,Xevent;var xWindow = document.body.clientWidth;var yWindow = document.body.clientHeight;var oEvt = e || window.event;Yevent = oEvt.clientY;Xevent = oEvt.clientX;if ((Xevent + 30 + 276) < xWindow){ Xposition = Xevent;}else{ Xposition = Xevent - 10 - 276;}if((Yevent - 20 - 145) < 0){ Yposition = Yevent + 20; }else{ Yposition = Yevent - 20 - 145; }if (document.all) {document.all.HOTWordsTitle.all.HOTWordsTitleText.innerHTML = xxx; document.all.HOTWordsTitle.style.left = Xposition;document.all.HOTWordsTitle.style.top = Yposition; document.all.HOTWordsTitle.style.display = '';document.all.HOTWordsTitle.style.zIndex = 10000;document.all.HOTWordsTitle.style.visibility = 'visible';} else {var oLayer = document.getElementById('HOTWordsTitle');var oLayerTxt = document.getElementById('HOTWordsTitleText');oLayer.style.top = Yposition + "px";oLayer.style.zIndex = 10000;oLayer.style.left = Xposition + "px";oLayerTxt.innerHTML = xxx;oLayer.style.display = '';oLayer.style.position = 'fixed';oLayer.style.visibility = 'visible';}}catch(e){}}function getScrollTop() {var s = 0;if (window.getSelection) {return document.body.scrollTop;}if (document.documentElement && document.documentElement.scrollTop) {s = document.documentElement.scrollTop;}else if (document.body && document.body.scrollTop) {s = document.body.scrollTop;}return s;}function var21(t23){var erro = true;var ta = t23.lastIndexOf(" -1) || (tB > -1)){if (tB > ta){ta = tB;}var tC = t23.lastIndexOf(' tC){tC = tB;}if (ta > tC){erro = false;}}if(var22(t23)){erro = false;} ta = null; tB = null; tC = null; return erro;}function var22(t23a){var ta = t23a.lastIndexOf("<");var tc = t23a.lastIndexOf(">");if ((ta == -1) && (tc == -1)){return false;}if (tc > ta){return false;}return true;}function mouseX(evt) {if (evt.pageX) return evt.pageX;else if (evt.clientX)return evt.clientX + (document.documentElement.scrollLeft ?document.documentElement.scrollLeft :document.body.scrollLeft);else return null;}function mouseY(evt) {if (evt.pageY) return evt.pageY;else if (evt.clientY)return evt.clientY + (document.documentElement.scrollTop ?document.documentElement.scrollTop :document.body.scrollTop);else return null;}function var50(i, q, k, v, p){var n = true;for(;((n) && (i > -1));){i = aP12(document.getElementsByTagName('div')[q].innerHTML, v, i-1);var initexto = document.getElementsByTagName('div')[q].innerHTML.substring(0, (i));var fimtexto = document.getElementsByTagName('div')[q].innerHTML.substring((i + v.length));if (i > -1){ if(var21(initexto)){n = false;var AdLinkColor = '#000000';document.getElementsByTagName('div')[q].innerHTML = initexto + " " + v + "" + fimtexto;}}if(i > -1){i++;}} initexto = null; fimtexto = null; }function var20(te, v){ var t = te.innerHTML;var i= var30(t, v); if (i > -1){if (1==1){return true;}else{return false;}}else{return false;}}function var30(t, v){ var i=v; var a=false; var c= null; while ((i > 2) && (!a)){ c=t.substring(i-1, i); if (c == '<'){ a=true; i=-1; } if (c == '>'){ a=true; } i--; } return i; }function getScrollLeft(){if (window.getSelection) {return document.body.scrollLeft;}var s = 0;if (document.documentElement && document.documentElement.scrollLeft){s = document.documentElement.scrollLeft;}else if (document.body && document.body.scrollLeft){s = document.body.scrollLeft;}return s;}var bOpera= (navigator.userAgent.toLowerCase().indexOf("opera") != -1 ); var bIE = (!bOpera && navigator.appName.indexOf("Microsoft") != -1 );function hideBL(divids){ ziob = document.getElementById(divids); ziob.style.visibility='hidden'; } var hotwordsEliminaDesaparecerXY = true; function getStyle(oElm, strCssRule){ var strValue = ''; if(document.defaultView && document.defaultView.getComputedStyle){ var css = document.defaultView.getComputedStyle(oElm, null); strValue = css ? css.getPropertyValue(strCssRule) : null; } else if(oElm.currentStyle){ strCssRule = strCssRule.replace(/\\-(\\w)/g, function (strMatch, p1){ return p1.toUpperCase(); }); strValue = oElm.currentStyle[strCssRule]; } return strValue; } function Draggable(el) { var xDelta = 0, yDelta = 0; var xStart = 0, yStart = 0; function enddrag() { document.onmouseup = null; document.onmousemove = null; } function drag(e) { e = e || window.event; hotwordsEliminaDesaparecerXY = false; xDelta = xStart - parseInt(e.clientX); yDelta = yStart - parseInt(e.clientY); xStart = parseInt(e.clientX); yStart = parseInt(e.clientY); el.style.top = (parseInt(el.style.top) - yDelta) + 'px'; el.style.left = (parseInt(el.style.left) - xDelta) + 'px'; } function md(e) { e = e || window.event; xStart = parseInt(e.clientX); yStart = parseInt(e.clientY); el.style.top = parseInt(getStyle(el,'top')) + 'px'; el.style.left = parseInt(getStyle(el,'left')) + 'px'; document.onmouseup = enddrag; document.onmousemove = drag; return false; } el.onmousedown = md; } function printLayerHOTWords(){ try { var temp = document.getElementById('HOTWordsTitle'); if (temp == null){ var head = document.getElementsByTagName('body')[0]; var scriptElement = document.createElement('div'); scriptElement.id = 'HOTWordsTitle'; scriptElement.style.zIndex = 10000; scriptElement.style.cursor = 'move'; scriptElement.style.position = 'absolute'; scriptElement.style.visibility= 'hidden'; scriptElement.style.display = 'none'; scriptElement.onmouseout = function(){ hideMaybe();}; scriptElement.onmouseover = function(){ showSure();}; var z = scriptElement.appendChild(document.createElement('div')); z.id = 'HOTWordsTitleText'; head.appendChild( scriptElement ); new Draggable(document.getElementById('HOTWordsTitle')); } }catch(e) { return false; } return true; }function aP12(t, e, h){if ((h) > t.length){ return -1; }var r = -1;var l= '';var k= '';var p = " -.,\"><:;()+!'";if (h > 0){t = t.substring(h);}var a = false;for (var i=0;((!a) && (i<=p.length-1));i++){l=p.substring(i,i+1);for (var x=0;((!a) && (x<=p.length-1));x++){k=p.substring(x,x+1);a = (t.indexOf((l + e + k)) > -1);if (a){r = h + t.indexOf(l + e + k) + 1;}}}return r;}function atpq(p, x){var texto; texto = document.getElementsByTagName('div');var ii =0;for(var i=0;i -1));){procura = texto[i].innerHTML;achou = aP12(procura, p, achou);if (achou > -1){if(var20(texto[i], achou)){var initexto = procura.substring(0, (achou));if(var21(initexto)){n = false;var fimtexto = procura.substring((achou + p.length));functionExistis=false;if (qojw[x] != null){var ok = hw_exl('http://209.62.61.234/' + qojw[x] + '&h=' + k[x] + x + '829&id=6033&i=' + i + '&p=' + escape(p) +'&a=' + achou + '&px=' + qtdAnuncios + '&ak=' + koq[x] + '&d=http%3A%2F%2Fwww.designcomlimao.com%2Fblog%2F%3Fpaged%3D8');}else{ ok = false; }if (ok){qtdAnuncios++;}}}}if(achou > -1){achou++;}}}}return ii;}function hotwords_start(){printLayerHOTWords();for (var x=0;x < palavras.length; x++){atpq(palavras[x], x);}if(qtdAnuncios > 0){hw_exl('http://209.62.61.234/mostraPx.jsp?px=' + qtdAnuncios);}}hotwords_start(); scriptElement = null; head = null;}catch(e){}