/* If you take this script i will personally KILL you...And remmember I'm a mean motherfucker!!!
* Copyright (c) 1998, Wicap Interactive
* I will sue everyone that uses this script witout prior notice!
* Mail me and I'm sure we can come up to an agreement!
* wicap@wicap.com
*/
var cpcpcp, infos;
var arr = new Array();
var spe=0;var spe1=0;
GetCP();
function GetCP() {
if(document.all) window.document.onclick=iCookie;
}

			  
function iCookie (v) {

var el=window.event.srcElement;
var temp=el.tagName.toLowerCase();

if (temp=='a' || temp=='img') {
	if (temp=='img') {	

		for (var i=0;i<document.all.length;i++) if (document.all[i]==el) break;
			infos=i;
			//alert(document.all[i]  + "#" + document.all[i].innerHTML + "#" +document.all[i].src);
			el=document.all[i-1];
 		}
	if (el.href.indexOf('.jpg')>=0 || el.href.indexOf('.gif')>=0) {
			cpcpcp=el.href;
			atw=window.open("/pic.html",'','scrollbars=1, fullscreen=1, resizable=0, left=0, top=0');
			atw.focus();
			window.event.returnValue=false;
	}
	}
}