function Tamtaki(){
        this.antiData=antiData;
        this.antiData();
        this.build=build;
        this.build();
}

function build(){
       this.setCont=setCont;
       this.setCont();
       //setInterval('this.setCont();', 1000);
	   window.onresize=function(){this.setCont();};
}



function setCont(){
	if (self.innerWidth)
	{
		frameWidth = self.innerWidth;
		frameHeight = self.innerHeight;
                
	}
	else if (document.documentElement && document.documentElement.clientWidth)
	{
		frameWidth = document.documentElement.clientWidth;
		frameHeight = document.documentElement.clientHeight;
	}
	else if (document.body)
	{
		frameWidth = document.body.clientWidth;
		frameHeight = document.body.clientHeight;
                
	}
	posX =(frameWidth-document.getElementById("div_contener").clientWidth)/2;
	posY =(frameHeight-document.getElementById("div_contener").clientHeight)/2;
	if(posX<0)posX=0;
	if(posY<0)posY=0;
	document.getElementById("div_contener").style.position="absolute";
	document.getElementById("div_contener").style.left=posX+"px";
	document.getElementById("div_contener").style.top=posY+"px";
}


function antiData(){
        //alert(document.getElementById("div_contener").clientWidth);
	lnk= document.createElement("a");
	tekst = "tamtaki" 
			+ "@tamtaki" 
			+ ".com";
	
	lnk.setAttribute("href","mailto:"+tekst.toString());
	tekst = document.createTextNode(tekst);
	lnk.appendChild(tekst);
	pretekst = document.createTextNode("e-mail:");
	document.getElementById("div_footer").appendChild(pretekst);
	document.getElementById("div_footer").appendChild(lnk);
        tekst = document.createTextNode(" phone:"); 
        no = document.createElement("strong")
        no.appendChild(document.createTextNode("+48 "
                                        + "887 "
                                        + "281 "
                                        + "895"));
        document.getElementById("div_footer").appendChild(tekst);
        document.getElementById("div_footer").appendChild(no);
}