// Home
function IS() {
var agent = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);
this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
this.ns2 = (this.ns && (this.major == 2));
this.ns3 = (this.ns && (this.major == 3));
this.ns4b = (this.ns && (this.major == 4) && (this.minor <= 4.03));
this.ns4c = (this.ns && (this.major < 4.7));
this.ns6 = (this.ns && (this.major > 4.7));
this.ns4 = (this.ns && (this.major >= 4));
this.ie  = (agent.indexOf("msie") != -1);
this.ie3 = (this.ie && (this.major == 2));
this.ie4 = (this.ie && (this.major == 4));
this.ie5 = (this.ie && (this.major > 4));
this.op3 = (agent.indexOf("opera") != -1);
}
var is = new IS();

function CircHome() {
if ((is.ie && navigator.appVersion.substr(navigator.appVersion.indexOf("MSIE")+5,3)==4)||is.ns) {
window.open('/ajuda/pgHelpStartPage.html','HelpSetHomePage',('width=400,height=340,top=0,left=0'));
window.location.reload(); }
else { document.body.setHomePage('circulando.frizz.com.br'); window.location.reload(); }
}


//pop up 
function securepopup(url,win,dim){ window.open(url,win,dim); }
function openpopup(url,win,dim){ window.open(url,win,dim); }

//pop up da enquete sem voto
function enquepop(url,win,dim){ window.open(url,win,dim); }

//pop up da enquete
function votar()
{
document.forms['formulario_enquete'].target='janela_enquete';
document.forms['formulario_enquete'].submit(window.open('','janela_enquete','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=430,height=330'));//360
}

 
