Jumat, 02 Oktober 2009





//-- Google Analytics Urchin Module
//-- Copyright 2007 Google, All Rights Reserved.

//-- Urchin On Demand Settings ONLY
var _uacct=""; // set up the Urchin Account
var _userv=1; // service mode (0=local,1=remote,2=both)

//-- UTM User Settings
var _ufsc=1; // set client info flag (1=on|0=off)
var _udn="auto"; // (auto|none|domain) set the domain name for cookies
var _uhash="on"; // (on|off) unique domain hash for cookies
var _utimeout="1800"; // set the inactive session timeout in seconds
var _ugifpath="/__utm.gif"; // set the web path to the __utm.gif file
var _utsp="|"; // transaction field separator
var _uflash=1; // set flash version detect option (1=on|0=off)
var _utitle=1; // set the document title detect option (1=on|0=off)
var _ulink=0; // enable linker functionality (1=on|0=off)
var _uanchor=0; // enable use of anchors for campaign (1=on|0=off)
var _utcp="/"; // the cookie path for tracking
var _usample=100; // The sampling % of visitors to track (1-100).

//-- UTM Campaign Tracking Settings
var _uctm=1; // set campaign tracking module (1=on|0=off)
var _ucto="15768000"; // set timeout in seconds (6 month default)
var _uccn="utm_campaign"; // name
var _ucmd="utm_medium"; // medium (cpc|cpm|link|email|organic)
var _ucsr="utm_source"; // source
var _uctr="utm_term"; // term/keyword
var _ucct="utm_content"; // content
var _ucid="utm_id"; // id number
var _ucno="utm_nooverride"; // don't override

//-- Auto/Organic Sources and Keywords
var _uOsr=new Array();
var _uOkw=new Array();
_uOsr[0]="google"; _uOkw[0]="q";
_uOsr[1]="yahoo"; _uOkw[1]="p";
_uOsr[2]="msn"; _uOkw[2]="q";
_uOsr[3]="aol"; _uOkw[3]="query";
_uOsr[4]="aol"; _uOkw[4]="encquery";
_uOsr[5]="lycos"; _uOkw[5]="query";
_uOsr[6]="ask"; _uOkw[6]="q";
_uOsr[7]="altavista"; _uOkw[7]="q";
_uOsr[8]="netscape"; _uOkw[8]="query";
_uOsr[9]="cnn"; _uOkw[9]="query";
_uOsr[10]="looksmart"; _uOkw[10]="qt";
_uOsr[11]="about"; _uOkw[11]="terms";
_uOsr[12]="mamma"; _uOkw[12]="query";
_uOsr[13]="alltheweb"; _uOkw[13]="q";
_uOsr[14]="gigablast"; _uOkw[14]="q";
_uOsr[15]="voila"; _uOkw[15]="rdata";
_uOsr[16]="virgilio"; _uOkw[16]="qs";
_uOsr[17]="live"; _uOkw[17]="q";
_uOsr[18]="baidu"; _uOkw[18]="wd";
_uOsr[19]="alice"; _uOkw[19]="qs";
_uOsr[20]="yandex"; _uOkw[20]="text";
_uOsr[21]="najdi"; _uOkw[21]="q";
_uOsr[22]="aol"; _uOkw[22]="q";
_uOsr[23]="club-internet"; _uOkw[23]="query";
_uOsr[24]="mama"; _uOkw[24]="query";
_uOsr[25]="seznam"; _uOkw[25]="q";
_uOsr[26]="search"; _uOkw[26]="q";
_uOsr[27]="wp"; _uOkw[27]="szukaj";
_uOsr[28]="onet"; _uOkw[28]="qt";
_uOsr[29]="netsprint"; _uOkw[29]="q";
_uOsr[30]="google.interia"; _uOkw[30]="q";
_uOsr[31]="szukacz"; _uOkw[31]="q";
_uOsr[32]="yam"; _uOkw[32]="k";
_uOsr[33]="pchome"; _uOkw[33]="q";
_uOsr[34]="kvasir"; _uOkw[34]="searchExpr";
_uOsr[35]="sesam"; _uOkw[35]="q";
_uOsr[36]="ozu"; _uOkw[36]="q";
_uOsr[37]="terra"; _uOkw[37]="query";
_uOsr[38]="nostrum"; _uOkw[38]="query";
_uOsr[39]="mynet"; _uOkw[39]="q";
_uOsr[40]="ekolay"; _uOkw[40]="q";
_uOsr[41]="search.ilse"; _uOkw[41]="search_for";
_uOsr[42]="bing"; _uOkw[42]="q";

//-- Auto/Organic Keywords to Ignore
var _uOno=new Array();
//_uOno[0]="urchin";
//_uOno[1]="urchin.com";
//_uOno[2]="www.urchin.com";

//-- Referral domains to Ignore
var _uRno=new Array();
//_uRno[0]=".urchin.com";

//-- **** Don't modify below this point ***
var _uff,_udh,_udt,_ubl=0,_udo="",_uu,_ufns=0,_uns=0,_ur="-",_ufno=0,_ust=0,_ubd=document,_udl=_ubd.location,_udlh="",_uwv="1.3";
var _ugifpath2="http://www.google-analytics.com/__utm.gif";
if (_udl.hash) _udlh=_udl.href.substring(_udl.href.indexOf('#'));
if (_udl.protocol=="https:") _ugifpath2="https://ssl.google-analytics.com/__utm.gif";
if (!_utcp || _utcp=="") _utcp="/";
function urchinTracker(page) {
if (_udl.protocol=="file:") return;
if (_uff && (!page || page=="")) return;
var a,b,c,xx,v,z,k,x="",s="",f=0,nv=0;
var nx=" expires="+_uNx()+";";
var dc=_ubd.cookie;
_udh=_uDomain();
if (!_uVG()) return;
_uu=Math.round(Math.random()*2147483647);
_udt=new Date();
_ust=Math.round(_udt.getTime()/1000);
a=dc.indexOf("__utma="+_udh+".");
b=dc.indexOf("__utmb="+_udh);
c=dc.indexOf("__utmc="+_udh);
if (_udn && _udn!="") { _udo=" domain="+_udn+";"; }
if (_utimeout && _utimeout!="") {
x=new Date(_udt.getTime()+(_utimeout*1000));
x=" expires="+x.toGMTString()+";";
}
if (_ulink) {
if (_uanchor && _udlh && _udlh!="") s=_udlh+"&";
s+=_udl.search;
if(s && s!="" && s.indexOf("__utma=")>=0) {
if (!(_uIN(a=_uGC(s,"__utma=","&")))) a="-";
if (!(_uIN(b=_uGC(s,"__utmb=","&")))) b="-";
if (!(_uIN(c=_uGC(s,"__utmc=","&")))) c="-";
v=_uGC(s,"__utmv=","&");
z=_uGC(s,"__utmz=","&");
k=_uGC(s,"__utmk=","&");
xx=_uGC(s,"__utmx=","&");
if ((k*1) != ((_uHash(a+b+c+xx+z+v)*1)+(_udh*1))) {_ubl=1;a="-";b="-";c="-";xx="-";z="-";v="-";}
if (a!="-" && b!="-" && c!="-") f=1;
else if(a!="-") f=2;
}
}
if(f==1) {
_ubd.cookie="__utma="+a+"; path="+_utcp+";"+nx+_udo;
_ubd.cookie="__utmb="+b+"; path="+_utcp+";"+x+_udo;
_ubd.cookie="__utmc="+c+"; path="+_utcp+";"+_udo;
} else if (f==2) {
a=_uFixA(s,"&",_ust);
_ubd.cookie="__utma="+a+"; path="+_utcp+";"+nx+_udo;
_ubd.cookie="__utmb="+_udh+"; path="+_utcp+";"+x+_udo;
_ubd.cookie="__utmc="+_udh+"; path="+_utcp+";"+_udo;
_ufns=1;
} else if (a>=0 && b>=0 && c>=0) {
b = _uGC(dc,"__utmb="+_udh,";");
b = ("-" == b) ? _udh : b;
_ubd.cookie="__utmb="+b+"; path="+_utcp+";"+x+_udo;
} else {
if (a>=0) a=_uFixA(_ubd.cookie,";",_ust);
else {
a=_udh+"."+_uu+"."+_ust+"."+_ust+"."+_ust+".1";
nv=1;
}
_ubd.cookie="__utma="+a+"; path="+_utcp+";"+nx+_udo;
_ubd.cookie="__utmb="+_udh+"; path="+_utcp+";"+x+_udo;
_ubd.cookie="__utmc="+_udh+"; path="+_utcp+";"+_udo;
_ufns=1;
}
if (_ulink && xx && xx!="" && xx!="-") {
xx=_uUES(xx);
if (xx.indexOf(";")==-1) _ubd.cookie="__utmx="+xx+"; path="+_utcp+";"+nx+_udo;
}
if (_ulink && v && v!="" && v!="-") {
v=_uUES(v);
if (v.indexOf(";")==-1) _ubd.cookie="__utmv="+v+"; path="+_utcp+";"+nx+_udo;
}
var wc=window;
var c=_ubd.cookie;
if(wc && wc.gaGlobal && wc.gaGlobal.dh==_udh){
var g=wc.gaGlobal;
var ua=c.split("__utma="+_udh+".")[1].split(";")[0].split(".");
if(g.sid)ua[3]=g.sid;
if(nv>0){
ua[2]=ua[3];
if(g.vid){
var v=g.vid.split(".");
ua[0]=v[0];
ua[1]=v[1];
}
}
_ubd.cookie="__utma="+_udh+"."+ua.join(".")+"; path="+_utcp+";"+nx+_udo;
}
_uInfo(page);
_ufns=0;
_ufno=0;
if (!page || page=="") _uff=1;
}
function _uGH() {
var hid;
var wc=window;
if (wc && wc.gaGlobal && wc.gaGlobal.hid) {
hid=wc.gaGlobal.hid;
} else {
hid=Math.round(Math.random()*0x7fffffff);
if (!wc.gaGlobal) wc.gaGlobal={};
wc.gaGlobal.hid=hid;
}
return hid;
}
function _uInfo(page) {
var p,s="",dm="",pg=_udl.pathname+_udl.search;
if (page && page!="") pg=_uES(page,1);
_ur=_ubd.referrer;
if (!_ur || _ur=="") { _ur="-"; }
else {
dm=_ubd.domain;
if(_utcp && _utcp!="/") dm+=_utcp;
p=_ur.indexOf(dm);
if ((p>=0) && (p<=8)) { _ur="0"; } if (_ur.indexOf("[")==0 && _ur.lastIndexOf("]")==(_ur.length-1)) { _ur="-"; } } s+="&utmn="+_uu; if (_ufsc) s+=_uBInfo(); if (_uctm) s+=_uCInfo(); if (_utitle && _ubd.title && _ubd.title!="") s+="&utmdt="+_uES(_ubd.title); if (_udl.hostname && _udl.hostname!="") s+="&utmhn="+_uES(_udl.hostname); if (_usample && _usample != 100) s+="&utmsp="+_uES(_usample); s+="&utmhid="+_uGH(); s+="&utmr="+_ur; s+="&utmp="+pg; if ((_userv==0 || _userv==2) && _uSP()) { var i=new Image(1,1); i.src=_ugifpath+"?"+"utmwv="+_uwv+s; i.onload=function() { _uVoid(); } } if ((_userv==1 || _userv==2) && _uSP()) { var i2=new Image(1,1); i2.src=_ugifpath2+"?"+"utmwv="+_uwv+s+"&utmac="+_uacct+"&utmcc="+_uGCS(); i2.onload=function() { _uVoid(); } } return; } function _uVoid() { return; } function _uCInfo() { if (!_ucto || _ucto=="") { _ucto="15768000"; } if (!_uVG()) return; var c="",t="-",t2="-",t3="-",o=0,cs=0,cn=0,i=0,z="-",s=""; if (_uanchor && _udlh && _udlh!="") s=_udlh+"&"; s+=_udl.search; var x=new Date(_udt.getTime()+(_ucto*1000)); var dc=_ubd.cookie; x=" expires="+x.toGMTString()+";"; if (_ulink && !_ubl) { z=_uUES(_uGC(s,"__utmz=","&")); if (z!="-" && z.indexOf(";")==-1) { _ubd.cookie="__utmz="+z+"; path="+_utcp+";"+x+_udo; return ""; } } z=dc.indexOf("__utmz="+_udh+"."); if (z>-1) { z=_uGC(dc,"__utmz="+_udh+".",";"); }
else { z="-"; }
t=_uGC(s,_ucid+"=","&");
t2=_uGC(s,_ucsr+"=","&");
t3=_uGC(s,"gclid=","&");
if ((t!="-" && t!="") || (t2!="-" && t2!="") || (t3!="-" && t3!="")) {
if (t!="-" && t!="") c+="utmcid="+_uEC(t);
if (t2!="-" && t2!="") { if (c != "") c+="|"; c+="utmcsr="+_uEC(t2); }
if (t3!="-" && t3!="") { if (c != "") c+="|"; c+="utmgclid="+_uEC(t3); }
t=_uGC(s,_uccn+"=","&");
if (t!="-" && t!="") c+="|utmccn="+_uEC(t);
else c+="|utmccn=(not+set)";
t=_uGC(s,_ucmd+"=","&");
if (t!="-" && t!="") c+="|utmcmd="+_uEC(t);
else c+="|utmcmd=(not+set)";
t=_uGC(s,_uctr+"=","&");
if (t!="-" && t!="") c+="|utmctr="+_uEC(t);
else { t=_uOrg(1); if (t!="-" && t!="") c+="|utmctr="+_uEC(t); }
t=_uGC(s,_ucct+"=","&");
if (t!="-" && t!="") c+="|utmcct="+_uEC(t);
t=_uGC(s,_ucno+"=","&");
if (t=="1") o=1;
if (z!="-" && o==1) return "";
}
if (c=="-" || c=="") { c=_uOrg(); if (z!="-" && _ufno==1) return ""; }
if (c=="-" || c=="") { if (_ufns==1) c=_uRef(); if (z!="-" && _ufno==1) return ""; }
if (c=="-" || c=="") {
if (z=="-" && _ufns==1) { c="utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)"; }
if (c=="-" || c=="") return "";
}
if (z!="-") {
i=z.indexOf(".");
if (i>-1) i=z.indexOf(".",i+1);
if (i>-1) i=z.indexOf(".",i+1);
if (i>-1) i=z.indexOf(".",i+1);
t=z.substring(i+1,z.length);
if (t.toLowerCase()==c.toLowerCase()) cs=1;
t=z.substring(0,i);
if ((i=t.lastIndexOf(".")) > -1) {
t=t.substring(i+1,t.length);
cn=(t*1);
}
}
if (cs==0 || _ufns==1) {
t=_uGC(dc,"__utma="+_udh+".",";");
if ((i=t.lastIndexOf(".")) > 9) {
_uns=t.substring(i+1,t.length);
_uns=(_uns*1);
}
cn++;
if (_uns==0) _uns=1;
_ubd.cookie="__utmz="+_udh+"."+_ust+"."+_uns+"."+cn+"."+c+"; path="+_utcp+"; "+x+_udo;
}
if (cs==0 || _ufns==1) return "&utmcn=1";
else return "&utmcr=1";
}
function _uRef() {
if (_ur=="0" || _ur=="" || _ur=="-") return "";
var i=0,h,k,n;
if ((i=_ur.indexOf("://"))<0 h="_ur.substring(i+3,_ur.length);"> -1) {
k=h.substring(h.indexOf("/"),h.length);
if (k.indexOf("?") > -1) k=k.substring(0,k.indexOf("?"));
h=h.substring(0,h.indexOf("/"));
}
h=h.toLowerCase();
n=h;
if ((i=n.indexOf(":")) > -1) n=n.substring(0,i);
for (var ii=0;ii<_urno.length;ii++) i="n.indexOf(_uRno[ii].toLowerCase()))"> -1 && n.length==(i+_uRno[ii].length)) { _ufno=1; break; }
}
if (h.indexOf("www.")==0) h=h.substring(4,h.length);
return "utmccn=(referral)|utmcsr="+_uEC(h)+"|"+"utmcct="+_uEC(k)+"|utmcmd=referral";
}
function _uOrg(t) {
if (_ur=="0" || _ur=="" || _ur=="-") return "";
var i=0,h,k;
if ((i=_ur.indexOf("://"))<0 h="_ur.substring(i+3,_ur.length);"> -1) {
h=h.substring(0,h.indexOf("/"));
}
for (var ii=0;ii<_uosr.length;ii++)> -1) {
if ((i=_ur.indexOf("?"+_uOkw[ii]+"=")) > -1 || (i=_ur.indexOf("&"+_uOkw[ii]+"=")) > -1) {
k=_ur.substring(i+_uOkw[ii].length+2,_ur.length);
if ((i=k.indexOf("&")) > -1) k=k.substring(0,i);
for (var yy=0;yy<_uono.length;yy++) _ufno="1;" utmccn="(organic)|utmcsr=" utmctr="+_uEC(k)+" utmcmd="organic" h="p=">-1) {
h=h.split("/")[0];
p=p.substring(p.indexOf("/")+1,p.length);
}
if(p.indexOf("?")>-1) {
p=p.split("?")[0];
}
if(h.toLowerCase().indexOf("google")>-1) {
if(_ur.indexOf("?q=")>-1 || _ur.indexOf("&q=")>-1) {
if (p.toLowerCase().indexOf("cse")>-1) {
return true;
}
}
}
}
function _uBInfo() {
var sr="-",sc="-",ul="-",fl="-",cs="-",je=1;
var n=navigator;
if (self.screen) {
sr=screen.width+"x"+screen.height;
sc=screen.colorDepth+"-bit";
} else if (self.java) {
var j=java.awt.Toolkit.getDefaultToolkit();
var s=j.getScreenSize();
sr=s.width+"x"+s.height;
}
if (n.language) { ul=n.language.toLowerCase(); }
else if (n.browserLanguage) { ul=n.browserLanguage.toLowerCase(); }
je=n.javaEnabled()?1:0;
if (_uflash) fl=_uFlash();
if (_ubd.characterSet) cs=_uES(_ubd.characterSet);
else if (_ubd.charset) cs=_uES(_ubd.charset);
return "&utmcs="+cs+"&utmsr="+sr+"&utmsc="+sc+"&utmul="+ul+"&utmje="+je+"&utmfl="+fl;
}
function __utmSetTrans() {
var e;
if (_ubd.getElementById) e=_ubd.getElementById("utmtrans");
else if (_ubd.utmform && _ubd.utmform.utmtrans) e=_ubd.utmform.utmtrans;
if (!e) return;
var l=e.value.split("UTM:");
var i,i2,c;
if (_userv==0 || _userv==2) i=new Array();
if (_userv==1 || _userv==2) { i2=new Array(); c=_uGCS(); }

for (var ii=0;ii-1) return;
if (h) { url=l+">
else {
if (iq==-1 && ih==-1) url=l+"?"+p;
else if (ih==-1) url=l+"&"+p;
else if (iq==-1) url=l.substring(0,ih-1)+"?"+p+l.substring(ih);
else url=l.substring(0,ih-1)+"&"+p+l.substring(ih);
}
}
return url;
}
function __utmLinker(l,h) {
if (!_ulink || !l || l=="") return;
_udl.href=__utmLinkerUrl(l,h);
}
function __utmLinkPost(f,h) {
if (!_ulink || !f || !f.action) return;
f.action=__utmLinkerUrl(f.action, h);
return;
}
function __utmSetVar(v) {
if (!v || v=="") return;
if (!_udo || _udo == "") {
_udh=_uDomain();
if (_udn && _udn!="") { _udo=" domain="+_udn+";"; }
}
if (!_uVG()) return;
var r=Math.round(Math.random() * 2147483647);
_ubd.cookie="__utmv="+_udh+"."+_uES(v)+"; path="+_utcp+"; expires="+_uNx()+";"+_udo;
var s="&utmt=var&utmn="+r;
if (_usample && _usample != 100) s+="&utmsp="+_uES(_usample);
if ((_userv==0 || _userv==2) && _uSP()) {
var i=new Image(1,1);
i.src=_ugifpath+"?"+"utmwv="+_uwv+s;
i.onload=function() { _uVoid(); }
}
if ((_userv==1 || _userv==2) && _uSP()) {
var i2=new Image(1,1);
i2.src=_ugifpath2+"?"+"utmwv="+_uwv+s+"&utmac="+_uacct+"&utmcc="+_uGCS();
i2.onload=function() { _uVoid(); }
}
}
function _uGCS() {
var t,c="",dc=_ubd.cookie;
if ((t=_uGC(dc,"__utma="+_udh+".",";"))!="-") c+=_uES("__utma="+t+";+");
if ((t=_uGC(dc,"__utmx="+_udh,";"))!="-") c+=_uES("__utmx="+t+";+");
if ((t=_uGC(dc,"__utmz="+_udh+".",";"))!="-") c+=_uES("__utmz="+t+";+");
if ((t=_uGC(dc,"__utmv="+_udh+".",";"))!="-") c+=_uES("__utmv="+t+";");
if (c.charAt(c.length-1)=="+") c=c.substring(0,c.length-1);
return c;
}
function _uGC(l,n,s) {
if (!l || l=="" || !n || n=="" || !s || s=="") return "-";
var i,i2,i3,c="-";
i=l.indexOf(n);
i3=n.indexOf("=")+1;
if (i > -1) {
i2=l.indexOf(s,i); if (i2 < i2="l.length;" c="l.substring((i+i3),i2);" _udn="=" _udn="=" _udn="" _udn="=" d="_ubd.domain;" d="d.substring(4,d.length);" _udn="d;" _udn =" _udn.toLowerCase();" _uhash="=" d="=" h="0,g=" i="d.length-1;i">=0;i--) {
var c=parseInt(d.charCodeAt(i));
h=((h << g="h" h="(h">> 21));
}
return h;
}
function _uFixA(c,s,t) {
if (!c || c=="" || !s || s=="" || !t || t=="") return "-";
var a=_uGC(c,"__utma="+_udh+".",s);
var lt=0,i=0;
if ((i=a.lastIndexOf(".")) > 9) {
_uns=a.substring(i+1,a.length);
_uns=(_uns*1)+1;
a=a.substring(0,i);
if ((i=a.lastIndexOf(".")) > 7) {
lt=a.substring(i+1,a.length);
a=a.substring(0,i);
}
if ((i=a.lastIndexOf(".")) > 5) {
a=a.substring(0,i);
}
a+="."+lt+"."+t+"."+_uns;
}
return a;
}
function _uTrim(s) {
if (!s || s=="") return "";
while ((s.charAt(0)==' ') || (s.charAt(0)=='\n') || (s.charAt(0,1)=='\r')) s=s.substring(1,s.length);
while ((s.charAt(s.length-1)==' ') || (s.charAt(s.length-1)=='\n') || (s.charAt(s.length-1)=='\r')) s=s.substring(0,s.length-1);
return s;
}
function _uEC(s) {
var n="";
if (!s || s=="") return "";
for (var i=0;i0) r=a.substring(i+1,i2); else return "";
if ((i=a.indexOf(".",i2+1))>0) t=a.substring(i2+1,i); else return "";
if (f) {
return r;
} else {
var c=new Array('A','B','C','D','E','F','G','H','J','K','L','M','N','P','R','S','T','U','V','W','X','Y','Z','1','2','3','4','5','6','7','8','9');
return c[r>>28&m]+c[r>>23&m]+c[r>>18&m]+c[r>>13&m]+"-"+c[r>>8&m]+c[r>>3&m]+c[((r&7)<<2)+(t>>30&3)]+c[t>>25&m]+c[t>>20&m]+"-"+c[t>>15&m]+c[t>>10&m]+c[t>>5&m]+c[t&m];
}
}
function _uIN(n) {
if (!n) return false;
for (var i=0;i<"0" || c>"9") && (c!=".")) return false;
}
return true;
}
function _uES(s,u) {
if (typeof(encodeURIComponent) == 'function') {
if (u) return encodeURI(s);
else return encodeURIComponent(s);
} else {
return escape(s);
}
}
function _uUES(s) {
if (typeof(decodeURIComponent) == 'function') {
return decodeURIComponent(s);
} else {
return unescape(s);
}
}
function _uVG() {
if((_udn.indexOf("www.google.") == 0 || _udn.indexOf(".google.") == 0 || _udn.indexOf("google.") == 0) && _utcp=='/' && _udn.indexOf("google.org")==-1) {
return false;
}
return true;
}
function _uSP() {
var s=100;
if (_usample) s=_usample;
if(s>=100 || s<=0) return true; return ((__utmVisitorCode(1)%10000)<(s*100)); } function urchinPathCopy(p){ var d=document,nx,tx,sx,i,c,cs,t,h,o; cs=new Array("a","b","c","v","x","z"); h=_uDomain(); if (_udn && _udn!="") o=" domain="+_udn+";"; nx=_uNx()+";"; tx=new Date(); tx.setTime(tx.getTime()+(_utimeout*1000)); tx=tx.toGMTString()+";"; sx=new Date(); sx.setTime(sx.getTime()+(_ucto*1000)); sx=sx.toGMTString()+";"; for (i=0;i<6;i++){ t=" expires=" i="=" i="=" t="" i="=" c="_uGC(d.cookie," cookie="__utm" path="+p+" _utk="=" d="'www.google.com';" d="'analytics.corp.google.com';" cookie="GASO=" path="+_utcp+" sc="document.createElement('script');" type="'text/javascript';" id="_gasojs" src="'https://'+d+'/analytics/reporting/overlay_js?gaso=" h="location.hash," gaso=")==0) { a=_uGC(h," gaso="," a="_uGC(_ubd.cookie," gaso="," _utk="_uGT();">10 && _utk.indexOf("=")==-1) {
if (window.addEventListener) {
window.addEventListener('load', _uCO, false);
} else if (window.attachEvent) {
window.attachEvent('onload', _uCO);
}
}

function _uNx() {
return (new Date((new Date()).getTime()+63072000000)).toGMTString();
}


/**
* Copyright (c) 2008 Google Inc.
*
* You are free to copy and use this sample.
* License can be found here: http://code.google.com/apis/ajaxsearch/faq/#license
*/

function GSvideoBar(barRoot, opt_playerRoot, options) {

this.processArguments(barRoot, opt_playerRoot, options);

this.setGlobals();
this.buildSuperStructure();
this.buildSearchControl();

// if we have an auto execute list, then start it up
if (this.autoExecuteMode) {
this.cycleTimeClosure = this.methodClosure(this, GSvideoBar.prototype.cycleTimeout, [null]);

// if there is only a single item in the execute list, then
// disable autoExecuteMode...
if ( this.executeList.length == 1) {
this.switchToListItem(0);
} else {
this.cycleTimeout();
}
}
}

// cycle time for selecting a video set
GSvideoBar.CYCLE_TIME_EXTRA_SHORT = 3000;
GSvideoBar.CYCLE_TIME_SHORT = 10000;
GSvideoBar.CYCLE_TIME_MEDIUM = 15000;
GSvideoBar.CYCLE_TIME_LONG = 30000;

// cycle mode
GSvideoBar.CYCLE_MODE_RANDOM = 1;
GSvideoBar.CYCLE_MODE_LINEAR = 2;

GSvideoBar.MAX_CACHE_LIFETIME = 50;
GSvideoBar.MIN_CACHE_LIFETIME = 2;
GSvideoBar.DEFAULT_CACHE_LIFETIME = 2;
GSvideoBar.MAX_ERROR_COUNT = 4;
GSvideoBar.DEFAULT_QUERY = "VW GTI";

GSvideoBar.THUMBNAILS_SMALL = 1;
GSvideoBar.THUMBNAILS_MEDIUM = 2;

// floating player option
GSvideoBar.PLAYER_ROOT_FLOATING = "floating";

GSvideoBar.prototype.processArguments = function(barRoot, opt_playerRoot,
opt_options) {
this.floatingPlayerBox = null;
this.barRoot = barRoot;
this.playerRoot = opt_playerRoot;
this.statusRoot = null;
this.externalMaster = null;
this.verticalMode = true;
this.thumbSize = GSvideoBar.THUMBNAILS_MEDIUM;
this.autoExecuteMode = false;
this.executeList = new Array();
this.cycleTime = GSvideoBar.CYCLE_TIME_MEDIUM;
this.cycleMode = GSvideoBar.CYCLE_MODE_RANDOM;
this.cycleNext = 0;
this.cycleTimer = null;
this.cacheLifetime = GSvideoBar.DEFAULT_CACHE_LIFETIME;

// set defaults that are changable via options
this.resultSetSize = GSearch.SMALL_RESULTSET;
this.ST_ALL_DONE = GSearch.strings["im-done"];

if (opt_options) {
// option.largetResultSet
if (opt_options.largeResultSet && opt_options.largeResultSet == true ) {
this.resultSetSize = GSearch.LARGE_RESULTSET;
} else {
this.resultSetSize = GSearch.SMALL_RESULTSET;
}

if ( opt_options.master ) {
this.externalMaster = opt_options.master;
}

if (opt_options.horizontal && opt_options.horizontal == true ) {
this.verticalMode = false;
} else {
this.verticalMode = true;
}

if (opt_options.thumbnailSize) {
if (opt_options.thumbnailSize == GSvideoBar.THUMBNAILS_MEDIUM ) {
this.thumbSize = GSvideoBar.THUMBNAILS_MEDIUM;
} else if ( opt_options.thumbnailSize == GSvideoBar.THUMBNAILS_SMALL ) {
this.thumbSize = GSvideoBar.THUMBNAILS_SMALL;
} else {
this.thumbSize = GSvideoBar.THUMBNAILS_MEDIUM;
}
}

if (opt_options.string_allDone) {
this.ST_ALL_DONE = opt_options.string_allDone;
}

// the auto execute list contains
// a cycleTime value, a cycleMode value, and an array
// of searchExpressions
if (opt_options.autoExecuteList) {

// if specified and valid, then use it, otherwise
// use default set above
if (opt_options.autoExecuteList.cycleTime) {
var cycleTime = opt_options.autoExecuteList.cycleTime;
if (cycleTime == GSvideoBar.CYCLE_TIME_EXTRA_SHORT ||
cycleTime == GSvideoBar.CYCLE_TIME_SHORT ||
cycleTime == GSvideoBar.CYCLE_TIME_MEDIUM ||
cycleTime == GSvideoBar.CYCLE_TIME_LONG ) {
this.cycleTime = cycleTime;
}
}

if (opt_options.autoExecuteList.cycleMode) {
var cycleMode = opt_options.autoExecuteList.cycleMode;
if (cycleMode == GSvideoBar.CYCLE_MODE_RANDOM ||
cycleMode == GSvideoBar.CYCLE_MODE_LINEAR) {
this.cycleMode = cycleMode;
}
}

// now grab the list...
if (opt_options.autoExecuteList.executeList &&
opt_options.autoExecuteList.executeList.length > 0 ) {
// grab from the list
for (var i=0; i < autoexecutemode =" true;" currentindex =" 0;" statusroot =" opt_options.autoExecuteList.statusRoot;" resetautoexecutelistitems =" function(newList)"> 0) {

// stop the timer...
if (this.cycleTimer) {
clearTimeout(this.cycleTimer);
this.cycleTimer = null;
}

// clear the status area
if (this.statusRoot) {
this.removeChildren(this.statusRoot);
}

// nuke the old list
this.executeList = new Array();

// build the new list
for (var i=0; i < currentindex =" 0;" length ="="" setglobals =" function()" br_agentcontains_cache_ =" {};" cl_playerbox = "playerBox_gsvb" cl_playing = "playerBox_gsvb playing_gsvb" cl_idle = "playerBox_gsvb idle_gsvb" cl_floating_box = "floatingPlayerBox_gsvb" cl_floating_branding = "floatingBranding_gsvb" cl_floating_box_playing = "floatingPlayerBox_gsvb playing_gsvb" cl_floating_box_idle = "floatingPlayerBox_gsvb idle_gsvb" cl_floating_player = "floatingPlayer_gsvb" cl_floating_player_playing = "floatingPlayer_gsvb playing_gsvb" cl_floating_player_idle = "floatingPlayer_gsvb idle_gsvb" cl_playerinnerbox = "playerInnerBox_gsvb" cl_videobarbox = "videoBarBox_gsvb" cl_videobarboxfull = "videoBarBox_gsvb full_gsvb" cl_videobarboxempty = "videoBarBox_gsvb empty_gsvb" cl_active = "active_gsvb" cl_player = "player_gsvb" cl_alldone = "alldone_gsvb" cl_title = "title_gsvb" cl_resultsbox = "resultsBox_gsvb" cl_brandingbox = "brandingBox_gsvb" cl_resulttable_vertical = "resultTable_gsvb vertical_gsvb" cl_resulttable_horizontal = "resultTable_gsvb horizontal_gsvb" cl_resultcell = "resultCell_gsvb" cl_resultdiv = "resultDiv_gsvb" cl_resultdiv_small = "resultDiv_gsvb smallResultDiv_gsvb" cl_statusbox = "statusBox_gsvb" cl_statusitem = "statusItem_gsvb" cl_statusitem_selected = "statusItem_gsvb statusItemSelected_gsvb" smallresultboxheight =" 39;" resultboxheight =" 77;" buildsuperstructure =" function()" externalmaster ="="" playerroot ="="" floatingplayerbox =" this.createDiv(null," playerroot =" this.createDiv(null," opacity = "1.00" playerbox =" this.createDiv(null," playeralldone =" this.createDiv(this.ST_ALL_DONE," onclick =" this.methodClosure(this," playerinnerbox =" this.createDiv(null," player =" null;" barbox =" this.createDiv(null," resultsbox =" this.createDiv(null," buildsearchcontrol =" function()" vs =" new" vsbypass =" new" execute =" function(query)" executeinternal =" function(query)" clearallresults =" function()" searchcomplete =" function(fromListItem)" results =" null;" currentlistitem =" this.executeList[this.currentIndex];"> 0) {
// populate cache
currentListItem.results = new Array();
currentListItem.cacheCount = 1;
currentListItem.errorCount = 0;
for (var i = 0; i < results =" currentListItem.results;" completionstatus ="="" errorcount =" GSvideoBar.MAX_ERROR_COUNT"> 0) {
results = this.vsBypass.results;
}
}
this.processResults(results);
}

GSvideoBar.prototype.processResults = function(results) {
if ( results && results.length > 0) {
this.cssSetClass(this.barBox, this.CL_VIDEOBARBOXFULL);
this.removeChildren(this.resultsBox);

var cell;
var table;
var row = null;
if (this.verticalMode) {
table = this.createTable(this.CL_RESULTTABLE_VERTICAL);
} else {
table = this.createTable(this.CL_RESULTTABLE_HORIZONTAL);
}
table.setAttribute("align", "center");

for (var i = 0; i < res =" results[i];" resultclass =" null;" thumbsize ="="" imagescaler =" {width:100,height:75};" resultboxheight =" this.resultBoxHeight;" resultclass =" this.CL_RESULTDIV;" imagescaler =" {width:50,height:37};" resultboxheight =" this.smallResultBoxHeight;" resultclass =" this.CL_RESULTDIV_SMALL;" scaled =" GSearch.scaleImage(res.tbWidth," img =" this.createImage(res.tbUrl," onclick =" this.methodClosure(this.externalMaster," onclick =" this.methodClosure(this,"> 0) {
var padTop = Math.round((resultBoxHeight - scaled.height)/2);
img.setAttribute("vspace", padTop);
}

// compute duration
var seconds = res.duration;
var minutes = parseInt(seconds/60);
var durationString;
if (minutes > 0) {
durationString = minutes + "m";
var remainder = seconds%60;
if (remainder > 20) {
durationString += " " + remainder + "s";
}
} else {
durationString = seconds + "s";
}

var toolTip = res.titleNoFormatting + " ( " + durationString + " )";
var div = this.createDiv(null, resultClass);
div.title = toolTip;
div.appendChild(img);

// create a new row for each result when in vertical mode
// otherwise, jam everything into a single row.
if (this.verticalMode) {
row = this.createTableRow(table);
} else {
if (row == null) {
row = this.createTableRow(table);
}
}
cell = this.createTableCell(row, this.CL_RESULTCELL);
cell.setAttribute("align", "center");
cell.appendChild(div);
}

// now add in the branding...
row = this.createTableRow(table);
var brandingOrientation;
if (this.verticalMode) {
cell = this.createTableCell(row, this.CL_RESULTCELL);
brandingOrientation = GSearch.VERTICAL_BRANDING;
} else {
cell = this.createTableCell(row, this.CL_RESULTCELL);
if (this.br_IsIE()) {
cell.setAttribute("colSpan", results.length);
} else {
cell.setAttribute("colspan", results.length);
}
brandingOrientation = GSearch.HORIZONTAL_BRANDING;
}
GSearch.getBranding(cell, brandingOrientation, "http://www.youtube.com");
this.brandingCell = cell;

this.resultsBox.appendChild(table);
} else {
this.cssSetClass(this.barBox, this.CL_VIDEOBARBOXEMPTY);
}
}

GSvideoBar.prototype.playVideo = function(result) {
this.stopVideo();
if (this.autoExecuteMode && this.cycleTimer) {
clearTimeout(this.cycleTimer);
this.cycleTimer = null;
}
if (result.playUrl && result.playUrl != "") {
this.cssSetClass(this.playerBox, this.CL_PLAYING);
if (this.floatingPlayerBox) {
this.cssSetClass(this.floatingPlayerBox, this.CL_FLOATING_BOX_PLAYING);
this.cssSetClass(this.playerRoot, this.CL_FLOATING_PLAYER_PLAYING);
}
this.player = GvideoSearch.createPlayer(result, this.CL_PLAYER);
this.playerInnerBox.appendChild(this.player);

// the title
var title = this.createDivLink(result.url, result.title, null, this.CL_TITLE);
this.playerInnerBox.appendChild(title);

if (this.floatingPlayerBox) {
var playerBounds = GSvideoBar.nodeBounds(this.playerRoot);
var bounds = GSvideoBar.nodeBounds(this.barRoot);
var x;
var y;
if (this.verticalMode) {
x = bounds.x - playerBounds.width;
y = bounds.y + bounds.height / 2 - playerBounds.height / 2;
var brandingBounds = GSvideoBar.nodeBounds(this.brandingCell);
y = y - brandingBounds.height / 2;
if (x < x =" bounds.x" x =" bounds.x" y =" bounds.y" y =" bounds.y" top =" y" left =" x" top =" y" left =" x" boxwidth =" (playerBounds.width" width =" boxWidth;" height =" (playerBounds.height" stopvideo =" function()" player =" null;"> 1) {
this.clearTimer();
this.cycleTimer = setTimeout(this.cycleTimeClosure, this.cycleTime);
}
}

GSvideoBar.prototype.clearTimer = function() {
if (this.cycleTimer) {
clearTimeout(this.cycleTimer);
this.cycleTimer = null;
}
}

GSvideoBar.prototype.cycleTimeout = function() {
// select a new video
// execute a search
// restart the timer
if ( this.player == null ) {
// if there is only a single item in the execute list,
// run it
if ( this.executeList.length == 1) {
this.switchToListItem(0);
} else {
var index = 0;
if (this.cycleMode == GSvideoBar.CYCLE_MODE_RANDOM) {
var max = this.executeList.length - 1;
index = Math.round(max * Math.random());
} else if (this.cycleMode == GSvideoBar.CYCLE_MODE_LINEAR){
index = this.cycleNext;
this.cycleNext++;
if (this.cycleNext >= this.executeList.length) {
this.cycleNext = 0;
}
}

this.switchToListItem(index);
this.clearTimer();
this.cycleTimer = setTimeout(this.cycleTimeClosure, this.cycleTime);
}
}
}

/**
* Autoexecute List Item Support
*/
GSvideoBar.prototype.newListItem = function(q) {
var listItem = new Object();
listItem.node = null;
listItem.query = q;
listItem.results = new Array();
listItem.errorCount = 0;
listItem.cacheCount = 0;
return listItem;
}


GSvideoBar.prototype.switchToListItem = function(i) {
// reset selcted class of previous item
// note, first time through this sets
// node 0
if (this.executeList[this.currentIndex].node) {
this.cssSetClass(this.executeList[this.currentIndex].node,
this.CL_STATUSITEM);

}
this.currentIndex = i;
if (this.executeList[this.currentIndex].node) {
this.cssSetClass(this.executeList[this.currentIndex].node,
this.CL_STATUSITEM_SELECTED);

}
var queryTerm = this.executeList[this.currentIndex].query;
var cacheResults = false;
var currentListItem = null;
currentListItem = this.executeList[this.currentIndex];

// if the error count of an item has reached max, reset query term
if (currentListItem.errorCount > GSvideoBar.MAX_ERROR_COUNT) {
currentListItem.errorCount = 0;
queryTerm = GSvideoBar.DEFAULT_QUERY;
currentListItem.query = queryTerm;
}

// if the listItem has no cached results, OR if
// we have used the cached results several times
// already, initiate a real search
if (currentListItem.cacheCount == 0 ||
currentListItem.cacheCount > this.cacheLifetime ) {
currentListItem.cacheCount = 0;
this.executeInternal(queryTerm);
} else {
currentListItem.cacheCount++;
this.processResults(currentListItem.results);
}
}

GSvideoBar.prototype.populateStatusRoot = function() {
this.removeChildren(this.statusRoot);
this.statusBox = this.createDiv(null, this.CL_STATUSBOX);
this.statusRoot.appendChild(this.statusBox);

if ( this.executeList.length > 0) {
for (var i=0; i < this.executeList.length; i++ ) {
var listItem = this.executeList[i];
var displayTerm = listItem.query;
// if we are looking at our special feed: terms, strip
// feed: from the display
var m = displayTerm.match(/feed:(top100|top100new)$/);
if (m && m.length == 2) {
displayTerm = m[1];
}
var div = this.createDiv(displayTerm, this.CL_STATUSITEM);

// add click handler...
div.onclick = this.methodClosure(this,
GSvideoBar.prototype.switchToListItem,
[i] );
listItem.node = div;
this.statusBox.appendChild(div);
this.statusBox.appendChild(document.createTextNode(" "));
}
}
}

/**
* Static Helper Method
*/
GSvideoBar.methodCallback = function(object, method) {
return function() {
return method.apply(object, arguments);
}
}

/**
* Class methods
*/
GSvideoBar.prototype.methodClosure = function(object, method, opt_argArray) {
return function() {
return method.apply(object, opt_argArray);
}
}

GSvideoBar.prototype.createDiv = function(opt_text, opt_className) {
var el = document.createElement("div");
if (opt_text) {
el.innerHTML = opt_text;
}
if (opt_className) { el.className = opt_className; }
return el;
}

GSvideoBar.prototype.removeChildren = function(parent) {
while (parent.firstChild) {
parent.removeChild(parent.firstChild);
}
}

GSvideoBar.prototype.removeChild = function(parent, child) {
parent.removeChild(child);
}

GSvideoBar.prototype.cssSetClass = function(el, className) {
el.className = className;
}

GSvideoBar.prototype.createTable = function(opt_className) {
var el = document.createElement("table");
if (opt_className) { el.className = opt_className; }
return el;
}

GSvideoBar.prototype.createTableRow = function(table, opt_className) {
var tr = table.insertRow(-1);
if (opt_className) { tr.className = opt_className; }
return tr;
}

GSvideoBar.prototype.createTableCell = function(tr, opt_className) {
var td = tr.insertCell(-1);
if (opt_className) { td.className = opt_className; }
return td;
}

GSvideoBar.prototype.createDivLink = function(href, text, opt_target, opt_className) {
var div = this.createDiv(null, opt_className);
var el = document.createElement("a");
el.href = href;
el.appendChild(document.createTextNode(text));
if (opt_className) {
el.className = opt_className;
}
if (opt_target) {
el.target = opt_target;
}
div.appendChild(el);
return div;
}

GSvideoBar.prototype.createImage = function(src, opt_w, opt_h, opt_className) {
var el = document.createElement("img");
el.src = src;
if (opt_w) { el.width = opt_w; }
if (opt_h) { el.height = opt_h; }
if (opt_className) { el.className = opt_className; }
return el;
}

GSvideoBar.prototype.getNodeWidth = function(node) {
return node.offsetWidth;
}

GSvideoBar.prototype.br_AgentContains_ = function(str) {
if (str in this.br_AgentContains_cache_) {
return this.br_AgentContains_cache_[str];
}

return this.br_AgentContains_cache_[str] =
(navigator.userAgent.toLowerCase().indexOf(str) != -1);
}

GSvideoBar.prototype.br_IsIE = function() {
return this.br_AgentContains_('msie');
}

GSvideoBar.prototype.br_IsMac = function() {
return this.br_AgentContains_('macintosh') ||
this.br_AgentContains_('mac_powerpc');
}

GSvideoBar.prototype.br_IsKonqueror = function() {
return this.br_AgentContains_('konqueror');
}

GSvideoBar.prototype.br_IsOpera = function() {
return this.br_AgentContains_('opera');
}

GSvideoBar.prototype.br_IsSafari = function() {
return this.br_AgentContains_('safari') || this.br_IsKonqueror();
}

GSvideoBar.prototype.br_IsNav = function() {
return !this.br_IsIE() &&
!this.br_IsSafari() &&
this.br_AgentContains_('mozilla');
}

GSvideoBar.prototype.br_IsWin = function() {
return this.br_AgentContains_('win');
}

GSvideoBar.nodeBounds = function(obj) {
var result = {};

function fixRectForScrolling(r) {
// Need to take into account scrolling offset of ancestors (IE already does
// this)
for (var o = obj.offsetParent;
o && o.offsetParent;
o = o.offsetParent) {
if (o.scrollLeft) {
r.x -= o.scrollLeft;
}
if (o.scrollTop) {
r.y -= o.scrollTop;
}
}
}

// Mozilla
if (obj.ownerDocument && obj.ownerDocument.getBoxObjectFor) {
var box = obj.ownerDocument.getBoxObjectFor(obj);
result.x = box.x;
result.y = box.y;
result.width = box.width;
result.height = box.height;
fixRectForScrolling(result);
return result;
}

// IE
if (obj.getBoundingClientRect) {
var refWindow;
if (obj.ownerDocument && obj.ownerDocument.parentWindow) {
refWindow = obj.ownerDocument.parentWindow;
} else {
refWindow = window;
}

var rect = obj.getBoundingClientRect();
result.x = rect.left + GSvideoBar.GetIEScrollLeft(refWindow);
result.y = rect.top + GSvideoBar.GetIEScrollTop(refWindow);
result.width = rect.right - rect.left;
result.height = rect.bottom - rect.top;
return result;
}

// Fallback to recursively computing this
var left = 0;
var top = 0;
for (var o = obj; o.offsetParent; o = o.offsetParent) {
left += o.offsetLeft;
top += o.offsetTop;
}

result.x = left;
result.y = top;
result.width = obj.offsetWidth;
result.height = obj.offsetHeight;

fixRectForScrolling(result);
return result;
}

// Get the y position scroll offset.
GSvideoBar.GetIEScrollTop = function(win) {
if ("compatMode" in win.document && win.document.compatMode == "CSS1Compat") {
return win.document.documentElement.scrollTop;
} else {
return win.document.body.scrollTop;
}
}

// Get the x position scroll offset.
GSvideoBar.GetIEScrollLeft = function(win) {
if ("compatMode" in win.document && win.document.compatMode == "CSS1Compat") {
return win.document.documentElement.scrollLeft;
} else {
return win.document.body.scrollLeft;
}
}

Kamis, 01 Oktober 2009

GADIS TIDAK TAU MALU

Hy para gadis yang masih punya malu,jagalah harga dirimu,jangan kau menonjolkan tubuhmu yang seharusnya tidak boleh di ketahui oleh semua orang