bnbnbn
Autor: Administrador | Publicado: 2011-11-17T17:05:00-08:00

&lt;script language=javascript&gt;
function editor(nome)
{
window.open(nome, "editar", "toolbar=no,location=no,maximize=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=10,left=85,menubar=no,width=640,height=490"); }
&lt;/SCRIPT&gt;

&lt;script language=JavaScript&gt;
function viewform (name) {
window.open(name,"Form","scrollbars=yes,resizable,height=100,width=100");
}
&lt;/SCRIPT&gt;

&lt;script language=JavaScript type=text/JavaScript&gt;
&lt;!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))&gt;0&amp;&amp;parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&amp;&amp;d.all) x=d.all[n]; for (i=0;!x&amp;&amp;i&lt;d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&amp;&amp;d.layers&amp;&amp;i&lt;d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x &amp;&amp; d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i&lt;(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i&lt;(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }

}

//--&gt;

&lt;/SCRIPT&gt;

&lt;script language=JavaScript type=text/javascript&gt;
&lt;!--
var allowpop=1;
function popWin(){
var ppl="popLayer";var objppl=findObj(ppl);
if (objppl==null){return;}// if the layer does not exist, do nothing.
var args=arguments,movetoX=parseInt(args[0]),movetoY=parseInt(args[1]),movespeed=parseInt(args[2]);
var cycle=10,pxl="";
if(!document.layers){objppl=objppl.style;}
if(objppl.tmofn!=null){clearTimeout(objppl.tmofn);}
var pplcoordX=parseInt(objppl.left),pplcoordY=parseInt(objppl.top);
var xX=movetoX,yY=movetoY;if((pplcoordX!=movetoX)||(pplcoordY!=movetoY)){
var moveX=((movetoX-pplcoordX)/movespeed),moveY=((movetoY-pplcoordY)/movespeed);
moveX=(moveX&gt;0)?Math.ceil(moveX):Math.floor(moveX);movetoX=pplcoordX+moveX;
moveY=(moveY&gt;0)?Math.ceil(moveY):Math.floor(moveY);movetoY=pplcoordY+moveY;
if((parseInt(navigator.appVersion)&gt;4||navigator.userAgent.indexOf("MSIE")&gt;-1) &amp;&amp; (!window.opera)) {pxl="px";}
if (moveX!=0){eval("objppl.left='" + movetoX + pxl + "'");}
if (moveY != 0) {eval("objppl.top = '" + movetoY + pxl + "'");}
var sFunction = "popWin(" + xX + "," + yY + "," + movespeed+ ")";
objppl.tmofn = setTimeout(sFunction,cycle);
}
}

function findObj(theObj, theDoc){
var p, i, foundObj;
if(!theDoc) theDoc = document;
if((p = theObj.indexOf("?")) &gt; 0 &amp;&amp; parent.frames.length)
{theDoc = parent.frames[theObj.substring(p+1)].document;
theObj = theObj.substring(0,p);}
if(!(foundObj = theDoc[theObj]) &amp;&amp; theDoc.all) foundObj = theDoc.all[theObj];
for (i=0; !foundObj &amp;&amp; i &lt; theDoc.forms.length; i++)
foundObj = theDoc.forms[i][theObj];
for(i=0; !foundObj &amp;&amp; theDoc.layers &amp;&amp; i &lt; theDoc.layers.length; i++)
foundObj = findObj(theObj,theDoc.layers[i].document);
if(!foundObj &amp;&amp; document.getElementById) foundObj = document.getElementById(theObj);
return foundObj;
}
function hideLayer(layername){
layer=findObj(layername);
if(layer.style){layer=layer.style;}
layer.visibility='hidden'; }
// --&gt;
window.defaultStatus="Granaextra.Maisemconta.Net!"
&lt;/SCRIPT&gt;

&lt;STYLE&gt;A:link {
COLOR: black; TEXT-DECORATION: none
}
A:visited {
COLOR: black; TEXT-DECORATION: none
}
A:hover {
COLOR: #cc3300; TEXT-DECORATION: underline
}
&lt;/STYLE&gt;
&lt;META content="Microsoft FrontPage 5.0" name=GENERATOR&gt;
&lt;base target="_self"&gt;
&lt;/HEAD&gt;
&lt;BODY bottomMargin=0 vLink=#800000 aLink=#800000 link=#800000 leftMargin=0
topMargin=0 rightMargin=0&gt;&lt;!-- Início Código Banner Float. --&gt;
&lt;DIV id=publicidade
style="border:1px none #000000; Z-INDEX: 6; LEFT: 230px; BACKGROUND-IMAGE: url('http://www.maisemconta.net/granaextr/images/stcinza.gif'); VISIBILITY: visible; WIDTH: 330px; POSITION: absolute; TOP: 300px; HEIGHT: 270px; layer-background-image: url(http://www.maisemcon...ges/stcinza.gif)"&gt;&lt;BR&gt;
&lt;DIV align=center&gt;
&lt;CENTER&gt;
&lt;IFRAME marginWidth=1 marginHeight=1 src="http://www.maisemconta.net/granaextr/images/imagem.gif"
frameBorder=0 width=300 scrolling=no height=250 name="aa"&gt;&lt;/IFRAME&gt;&lt;/CENTER&gt;
&lt;CENTER&gt;
&lt;P style="MARGIN-TOP: 5px; MARGIN-BOTTOM: 5px"&gt;
&lt;INPUT class=buttonInt style="border:1px solid #FFFFFF; color:#808080; font-size:10 px; font-family:Arial; background-color:#FFFFFF" onclick="MM_showHideLayers('publicidade','','hide')" type=submit value=FECHAR&gt;
&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!-- fim do Código Banner Float. --&gt;
&lt;script language=JavaScript&gt;
&lt;!-- Begin
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i &lt; clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc &gt; 2) ? argv[2] : null;
var path = (argc &gt; 3) ? argv[3] : null;
var domain = (argc &gt; 4) ? argv[4] : null;
var secure = (argc &gt; 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie (name);
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function amt(){
var count = GetCookie('count')
if(count == null) {
SetCookie('count','1')
return 1
}
else {
var newcount = parseInt(count) + 1;
DeleteCookie('count')
SetCookie('count',newcount,exp)
return count
}
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
// End --&gt;
&lt;/SCRIPT&gt;&nbsp;