/* Yeni d%uFFFDk%uFFFDman olu%u015Fturuldu: 11.6.2007 1:49:14 */

lib = {

		n: { ie:/MSIE/i.test(navigator.userAgent), ie6:/MSIE 6/i.test(navigator.userAgent), ie7:/MSIE 7/i.test(navigator.userAgent), op:/Opera/i.test(navigator.userAgent), ff:/firefox/i.test(navigator.userAgent) },

		e: function(att,val,tag)

		{

			return ((att=="id"?document.getElementById(val):(typeof att!="string" && typeof val!="string" && typeof tag=="string"?document.getElementsByTagName(tag):function(){

				

				var data = [];

				var tag = document.getElementsByTagName(typeof tag=="string"?tag:"*");

				for(x in tag)

						if(((parseInt(x))>=0 || lib.n.ie) && typeof tag[x]=='object' && tag[x].getAttribute(att) && (typeof val!="string" || tag[x].getAttribute(att)==val))

							data.push(tag[x]);

				return data;

					

			}())));

		},

		p: function(node)

		{

			node.make = function(tag,body,html)

			{

				var element = document.createElement(typeof tag=="string"?tag.split("::")[0]:"div");

				if(typeof body=="object")

				for(y in body)

					for(x in body[y])

						if(y=="css")

							element.style[(x=="cssFloat" && lib.n.ie?"styleFloat":x)] = body[y][x];

						else if(y=="att" || y=="on")

							element[y=="att"?"setAttribute":(lib.n.ie?"attachEvent":"addEventListener")](y=="att"?(x=="class" && lib.n.ie?"className":x):((lib.n.ie?"on":"")+x),body[y][x],false);



				try { element.innerHTML = typeof tag=="string" && tag.split("::").length>1?tag.split("::")[1]:(typeof html=="undefined"?"":html);}catch (e){}

				if(typeof body=="undefined"||typeof body["append"]=="undefined"||body["append"]==1)(node==document || node==window?document.body:node)["appendChild"](element);

				return lib.p(element);

			};

				

			node.css = function(property)

			{

				return (lib.n.ie==0?document.defaultView.getComputedStyle(node, null):node.currentStyle)[property];

			};

				

			node.on = function(ev,fu)

			{

				return node[lib.n.ie?"attachEvent":"addEventListener"]((lib.n.ie?"on":"")+ev,fu,1);

			}



			node.att = function(att,val,remove)

			{

				if(typeof node.getAttribute=="undefined")return 0;



				var ieFix = { "class":"className" };

				if(typeof val!="undefined" && ( typeof remove=="undefined" || remove==0) && node.att(att).search(val)==(-1)) node.setAttribute(lib.n.ie?ieFix[att]:att,att=="class"?node.att(lib.n.ie?ieFix[att]:att)+' '+val:val);

				else if(typeof val!="undefined" && typeof remove!="undefined" && remove==1) node.setAttribute(lib.n.ie?ieFix[att]:att,node.att(lib.n.ie?ieFix[att]:att).replace(val));



				return node.getAttribute(att)==null?"":node.getAttribute(att);

			}

				

			return node;

		},

		i: function(elm)

		{

			var dim = [0,0];

			while(elm && document.firstChild && elm.nodeName!='BODY')

			{

				dim = [dim[0]+elm.offsetLeft,dim[1]+elm.offsetTop];

				elm = elm.offsetParent;

			}

			return { x:dim[0], y:dim[1] };

		},
		inc: function(url)
		{
			var elm = document.createElement("script");
			elm.setAttribute("src",url);
			document.body.appendChild(elm);
		}

	}