//Tu je heslo pre Alexandra Grahama
var slovo="BargainBird";
//Tu je heslo pre Group Buy
var kec="AB18031914"; 


function SetCookie(name,value) {
var argv = SetCookie.arguments
var argc = SetCookie.arguments.length
var expires = (argc > 2) ? argv[2] : null
var path = (argc > 3) ? argv[3] : null
var domain = (argc > 4) ? argv[4] : null
var secure = (argc > 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 getCookieVal(offset)  {
    var endstr =document.cookie.indexOf(";", offset)
	if (endstr == -1) {
	  endstr = document.cookie.length
	}
	return unescape(document.cookie.substring(offset,endstr))
}

function GetCookie(name) {
    var arg = name +"="
	var alen = arg.length
	var clen = document.cookie.length
	var i = 0
	while (i< 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 bezicipismo()
{
casttext=celytext.substring(pozice++,celytext.length)
if (casttext.length>130) {casttext=casttext.substring(0,130)}
if (pozice>=celytext.length) {pozice=0}
status=casttext
timer=setTimeout("bezicipismo()",250)
}

function behstart(bezicitext)
{
for (pocitadlo=0; pocitadlo<130; pocitadlo++) {bezicitext=" "+bezicitext}
celytext=bezicitext
bezicipismo()
}


function Blokada()
{
//var xDate= new Date();
//var adre="";
//adre=document.referrer;
//alert(adre);
//if (GetCookie("Boucher")){window.location.replace("http://www.embird.com/Defualt.htm");};
//if ((adre.indexOf("embcrk.boom.ru")>0)||(adre.indexOf("crack.ru")>0)||(adre.indexOf("embsoft.boom.ru")>0)||(adre.indexOf("crackazoid.com")>0)) 
//{
//xDate.setMonth(xDate.getMonth()+12);
//window.location.replace("http://www.embird.com/Defualt.htm"); //SetCookie("Boucher","12a",xDate);
//};
}

function Priepustka()
{
var adre="";
adre=document.referrer;
//alert(adre);
if (adre.indexOf("http://sadiasews.com/embirdorderpage.html")<0) {window.location.replace("http://www.embird.com/Defualt.htm");}; 
};

function Odklon1()
{
//window.location.replace("http://www.embird.biz");
};


function Odklon2()
{
//window.location.replace("http://www.embird.biz/sw/embird/index.htm");
};



function Odklon3()
{
//window.location.replace("http://www.embird.biz/sw/embird/down.htm");
};

//function Aktheslo()
//{
//var slovo="BargainBird"; 
//alert(slovo);
//}


//<a href="mailto:zvod@embird.com"></a>
