/* <![CDATA[ */window.addEvent("domready",function() {	new Asset.images([		"http://www.ablogcuratedby.com/images/arrow_left_2.gif",		"http://www.ablogcuratedby.com/images/arrow_right_2.gif",		"http://www.ablogcuratedby.com/images/arrow_up_2.gif",		"http://www.ablogcuratedby.com/images/arrow_down_2.gif",		"http://www.ablogcuratedby.com/images/arrow_down_2.gif",		// minicover abcdemagazine		"http://www.ablogcuratedby.com/data/images/minicover_dirkvansaene.gif",		"http://www.ablogcuratedby.com/data/images/minicover_bernhardwillhelm.gif",		"http://www.ablogcuratedby.com/data/images/minicover_husseinchalayan.gif",		"http://www.ablogcuratedby.com/data/images/minicover_oliviertheyskens.gif",		"http://www.ablogcuratedby.com/data/images/minicover_viktorandrolf.gif",		// minicover amagazine		"http://www.ablogcuratedby.com/data/images/minicover_amagazine.gif",		"http://www.ablogcuratedby.com/data/images/minicover_maisonmartinmargiela.gif",		"http://www.ablogcuratedby.com/data/images/minicover_yohjiyamamoto.gif",		"http://www.ablogcuratedby.com/data/images/minicover_haiderackermann.gif",		"http://www.ablogcuratedby.com/data/images/minicover_juntakahashiundercover.gif",		"http://www.ablogcuratedby.com/data/images/minicover_martinesitbon.gif",		"http://www.ablogcuratedby.com/data/images/minicover_veroniquebranquinho.gif",		"http://www.ablogcuratedby.com/data/images/minicover_krisvanassche.gif",		"http://www.ablogcuratedby.com/data/images/minicover_riccardotisci.gif",		"http://www.ablogcuratedby.com/data/images/minicover_proenzaschouler.gif"	]);	function getProperty (targetID,targetMode) {		switch (targetMode) {			case "type":				var property = (status[eval("myDrawer_" + targetID).open]=="open") ? "up" : "down";			break;			case "text":				var property = (status[eval("myDrawer_" + targetID).open]=="open") ? "Hide" : "Show";			break;		}; return property;	}	var status = {		"true": "open",		"false": "close"	};	// minicover abcdemagazine	$("toggle_de3d").addEvent("mouseover",function(e) {		e.stop();		resetCover.attempt("clear");		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_dirkvansaene.gif");	});	$("toggle_de3d").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_0e1f").addEvent("mouseover",function(e) {		e.stop();		resetCover.attempt("clear");		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_bernhardwillhelm.gif");	});	$("toggle_0e1f").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_d5cb").addEvent("mouseover",function(e) {		e.stop();		resetCover.attempt("clear");		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_husseinchalayan.gif");	});	$("toggle_d5cb").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_4b31").addEvent("mouseover",function(e) {		e.stop();		resetCover.attempt("clear");		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_oliviertheyskens.gif");	});	$("toggle_4b31").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_c03e").addEvent("mouseover",function(e) {		e.stop();		resetCover.attempt("clear");		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_viktorandrolf.gif");	});	$("toggle_c03e").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	// minicover amagazine	$("toggle_92a4").addEvent("mouseover",function(e) {		e.stop();		resetCover.attempt("clear");		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_maisonmartinmargiela.gif");	});	$("toggle_92a4").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_b1fa").addEvent("mouseover",function(e) {		e.stop();		resetCover.attempt("clear");		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_yohjiyamamoto.gif");	});	$("toggle_b1fa").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_baae").addEvent("mouseover",function(e) {		e.stop();		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_haiderackermann.gif");	});	$("toggle_baae").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_fe4b").addEvent("mouseover",function(e) {		e.stop();		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_juntakahashiundercover.gif");	});	$("toggle_fe4b").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_afa4").addEvent("mouseover",function(e) {		e.stop();		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_martinesitbon.gif");	});	$("toggle_afa4").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_9e16").addEvent("mouseover",function(e) {		e.stop();		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_veroniquebranquinho.gif");	});	$("toggle_9e16").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_8e9f").addEvent("mouseover",function(e) {		e.stop();		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_krisvanassche.gif");	});	$("toggle_8e9f").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_a3cc").addEvent("mouseover",function(e) {		e.stop();		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_riccardotisci.gif");	});	$("toggle_a3cc").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	$("toggle_2cf2").addEvent("mouseover",function(e) {		e.stop();		$("minicover").setProperty("src","http://www.ablogcuratedby.com/data/images/minicover_proenzaschouler.gif");	});	$("toggle_2cf2").addEvent("mouseout",function(e) {		e.stop();		resetCover.attempt("cover");	});	// supporters	var myDrawer_5d17 = new Fx.Slide("drawer_5d17").hide();	$("toggle_5d17").addEvent("click",function(e) {		e.stop();		myDrawer_5d17.toggle();	});	$("toggle_5d17").addEvent("mouseover",function(e) {		e.stop();		$("arrow_5d17").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("5d17","type") + "_2.gif");	});	$("toggle_5d17").addEvent("mouseout",function(e) {		e.stop();		$("arrow_5d17").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("5d17","type") + "_1.gif");	});	myDrawer_5d17.addEvent("complete",function() {		$("arrow_5d17").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("5d17","type") + "_1.gif");		$("status_5d17").set("html",getProperty("5d17","text"));	});	// contributors	var myDrawer_45d3 = new Fx.Slide("drawer_45d3").hide();	$("toggle_45d3").addEvent("click",function(e) {		e.stop();		myDrawer_45d3.toggle();	});	$("toggle_45d3").addEvent("mouseover",function(e) {		e.stop();		$("arrow_45d3").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("45d3","type") + "_2.gif");	});	$("toggle_45d3").addEvent("mouseout",function(e) {		e.stop();		$("arrow_45d3").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("45d3","type") + "_1.gif");	});	myDrawer_45d3.addEvent("complete",function() {		$("arrow_45d3").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("45d3","type") + "_1.gif");		$("status_45d3").set("html",getProperty("45d3","text"));	});	// authors	var myDrawer_d06d = new Fx.Slide("drawer_d06d").hide();	$("toggle_d06d").addEvent("click",function(e) {		e.stop();		myDrawer_d06d.toggle();	});	$("toggle_d06d").addEvent("mouseover",function(e) {		e.stop();		$("arrow_d06d").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("d06d","type") + "_2.gif");	});	$("toggle_d06d").addEvent("mouseout",function(e) {		e.stop();		$("arrow_d06d").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("d06d","type") + "_1.gif");	});	myDrawer_d06d.addEvent("complete",function() {		$("arrow_d06d").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("d06d","type") + "_1.gif");		$("status_d06d").set("html",getProperty("d06d","text"));	});	// archives	var myDrawer_03c7 = new Fx.Slide("drawer_03c7").hide();	$("toggle_03c7").addEvent("click",function(e) {		e.stop();		myDrawer_03c7.toggle();	});	$("toggle_03c7").addEvent("mouseover",function(e) {		e.stop();		$("arrow_03c7").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("03c7","type") + "_2.gif");	});	$("toggle_03c7").addEvent("mouseout",function(e) {		e.stop();		$("arrow_03c7").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("03c7","type") + "_1.gif");	});	myDrawer_03c7.addEvent("complete",function() {		$("arrow_03c7").setProperty("src","http://www.ablogcuratedby.com/images/arrow_" + getProperty("03c7","type") + "_1.gif");		$("status_03c7").set("html",getProperty("03c7","text"));	});	// arrow news	$("toggle_ae9e").addEvent("mouseover",function(e) {		e.stop();		$("arrow_ae9e").setProperty("src","http://www.ablogcuratedby.com/images/arrow_right_2.gif");	});	$("toggle_ae9e").addEvent("mouseout",function(e) {		e.stop();		$("arrow_ae9e").setProperty("src","http://www.ablogcuratedby.com/images/arrow_right_1.gif");	});	// arrow search form	$("toggle_25b6").addEvent("mouseover",function(e) {		e.stop();		$("arrow_25b6").setProperty("src","http://www.ablogcuratedby.com/images/arrow_right_2.gif");	});	$("toggle_25b6").addEvent("mouseout",function(e) {		e.stop();		$("arrow_25b6").setProperty("src","http://www.ablogcuratedby.com/images/arrow_right_1.gif");	});	// left arrows posts	$("toggle_4c47").addEvent("mouseover",function(e) {		e.stop();		$("arrow_4c47").setProperty("src","http://www.ablogcuratedby.com/images/arrow_left_2.gif");	});	$("toggle_4c47").addEvent("mouseout",function(e) {		e.stop();		$("arrow_4c47").setProperty("src","http://www.ablogcuratedby.com/images/arrow_left_1.gif");	});	// right arrows posts	$("toggle_ab72").addEvent("mouseover",function(e) {		e.stop();		$("arrow_ab72").setProperty("src","http://www.ablogcuratedby.com/images/arrow_right_2.gif");	});	$("toggle_ab72").addEvent("mouseout",function(e) {		e.stop();		$("arrow_ab72").setProperty("src","http://www.ablogcuratedby.com/images/arrow_right_1.gif");	});});function toggleArrow (target,type) {	if (document.images["arrow_" + target].src.indexOf("_2") >= 0) {		document.images["arrow_" + target].src =		"http://www.ablogcuratedby.com/images/arrow_" + type + "_1.gif";	} else if (document.images["arrow_" + target].src.indexOf("_1") >= 0) {		document.images["arrow_" + target].src =		"http://www.ablogcuratedby.com/images/arrow_" + type + "_2.gif";	}}// -> email functionsfunction decryptLink (target) {	var hyperlink = target.replace(/[a-zA-Z]/g,	function (code) {		return String.fromCharCode(		(code <= "Z" ? 90 : 122) >=		(code = code.charCodeAt(0) + 13) ?		code : code - 26); } )	return hyperlink;}function sendEmail (target) {	location.href = "mailto:" + decryptLink(target) + "?subject=please%20keep%20me%20posted!";}// -> end// -> form validationfunction validateForm (formName) {	if (		eval("document." + formName).SenderEmail.value == "" ||		eval("document." + formName).SenderEmail.value.indexOf("@") == -1 ||		eval("document." + formName).SenderEmail.value.indexOf(".") == -1 ||		eval("document." + formName).SenderEmail.value.indexOf(" ") != -1	) {		alert("Please enter your email address!");		eval("document." + formName).SenderEmail.focus();		return false;	} else {		eval("document." + formName).submit();		return (true);	}}// -> end// -> popup functionsfunction launchProjector (media,source,width,height) {	var w = width;	var h = height;	var u = "http://www.ablogcuratedby.com/projector.php?media=" + media + "&source=" + source;	var l = 50;	var t = 50;	var windowprops = "location=no, scrollbars=yes, menubars=no, toolbars=no, resizable=yes" + ",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;	popup = window.open(u, "projector", windowprops);	popup.focus();}// -> end/**The JavaScript functions below will gradually enlarge or shrink an imageon the current page. I use this for mouseover effects, but there might besome other interesting applications of it as well.You can use these scripts in any way you'd like, just don't pretend likeyou wrote them yourself.version 1.0March 17, 2005Julian Robichaux, http://www.nsftools.com*//**** adjust these two parameters to control how fast or slow **** the images grow/shrink ****/// how many milliseconds we should wait between resizing eventsvar resizeDelay = 1;// how many pixels we should grow or shrink by each time we resizevar resizeIncrement = 25;// this will hold information about the images we're dealing withvar imgCache = new Object();/**The getCacheTag function just creates a (hopefully) unique identifier foreach <img> that we resize.*/function getCacheTag (imgElement) {	return imgElement.src + "~" + imgElement.offsetLeft + "~" + imgElement.offsetTop;}/**We're using this as a class to hold information about the <img> elementsthat we're manipulating.*/function cachedImg (imgElement, increment) {	this.img = imgElement;	this.cacheTag = getCacheTag(imgElement);	this.originalSrc = imgElement.src;	var h = imgElement.height;	var w = imgElement.width;	this.originalHeight = h;	this.originalWidth = w;	increment = (!increment) ? resizeIncrement : increment;	this.heightIncrement = Math.ceil(Math.min(1, (h / w)) * increment);	this.widthIncrement = Math.ceil(Math.min(1, (w / h)) * increment);}/**This is the function that should be called in the onMouseOver and onMouseOutevents of an <img> element. For example:<img src='onesmaller.gif' onMouseOver='resizeImg(this, 150, "onebigger.gif")' onMouseOut='resizeImg(this)'>The only required parameter is the first one (imgElement), which is areference to the <img> element itself. If you're calling from onMousexxx,you can just use "this" as the value.The second parameter specifies how much larger or smaller we should resizethe image to, as a percentage of the original size. In the example above,we want to resize it to be 150% larger. If this parameter is omitted, we'llassume you want to resize the image to its original size (100%).The third parameter can specify another image that should be used as theimage is being resized (it's common for "rollover images" to be similar butslightly different or more colorful than the base images). If this parameteris omitted, we'll just resize the existing image.*/function resizeImg (imgElement, percentChange, newImageURL) {	// convert the percentage (like 150) to an percentage value we can use	// for calculations (like 1.5)	var pct = (percentChange) ? percentChange / 100 : 1;	// if we've already resized this image, it will have a "cacheTag" attribute	// that should uniquely identify it. If the attribute is missing, create a	// cacheTag and add the attribute	var cacheTag = imgElement.getAttribute("cacheTag");	if (!cacheTag) {		cacheTag = getCacheTag(imgElement);		imgElement.setAttribute("cacheTag", cacheTag);	}	// look for this image in our image cache. If it's not there, create it.	// If it is there, update the percentage value.	var cacheVal = imgCache[cacheTag];	if (!cacheVal) {		imgCache[cacheTag] = new Array(new cachedImg(imgElement), pct);	} else {		cacheVal[1] = pct;	}	// if we're supposed to be using a rollover image, use it	if (newImageURL)		imgElement.src = newImageURL;	// start the resizing loop. It will continue to call itself over and over	// until the image has been resized to the proper value.	resizeImgLoop(cacheTag);	return true;}/**This is the function that actually does all the resizing. It calls itselfrepeatedly with setTimeout until the image is the right size.*/function resizeImgLoop (cacheTag) {	// get information about the image element from the image cache	var cacheVal = imgCache[cacheTag];	if (!cacheVal)		return false;	var cachedImageObj = cacheVal[0];	var imgElement = cachedImageObj.img;	var pct = cacheVal[1];	var plusMinus = (pct > 1) ? 1 : -1;	var hinc = plusMinus * cachedImageObj.heightIncrement;	var vinc = plusMinus * cachedImageObj.widthIncrement;	var startHeight = cachedImageObj.originalHeight;	var startWidth = cachedImageObj.originalWidth;	var currentHeight = imgElement.height;	var currentWidth = imgElement.width;	var endHeight = Math.round(startHeight * pct);	var endWidth = Math.round(startWidth * pct);	// if the image is already the right size, we can exit	if ( (currentHeight == endHeight) || (currentWidth == endWidth) )		return true;	// increase or decrease the height and width, making sure we don't get	// larger or smaller than the final size we're supposed to be	var newHeight = currentHeight + hinc;	var newWidth = currentWidth + vinc;	if (pct > 1) {		if ((newHeight >= endHeight) || (newWidth >= endWidth)) {			newHeight = endHeight;			newWidth = endWidth;		}	} else {		if ((newHeight <= endHeight) || (newWidth <= endWidth)) {			newHeight = endHeight;			newWidth = endWidth;		}	}	// set the image element to the new height and width	imgElement.height = newHeight;	imgElement.width = newWidth;	// if we've returned to the original image size, we can restore the	// original image as well (because we may have been using a rollover	// image in the original call to resizeImg)	if ((newHeight == cachedImageObj.originalHeight) || (newWidth == cachedImageObj.originalwidth)) {		imgElement.src = cachedImageObj.originalSrc;	}	// shrink or grow again in a few milliseconds	setTimeout("resizeImgLoop('" + cacheTag + "')", resizeDelay);}// image galleryfunction parseGallery (gallery,target) {	var wpid    = eval(gallery + "_array")[target-1][0];	var source  = eval(gallery + "_array")[target-1][1];	var xspread = eval(gallery + "_array")[target-1][2];	var yspread = eval(gallery + "_array")[target-1][3];	var caption = eval(gallery + "_array")[target-1][4];	document.getElementById(gallery).innerHTML =		'<img name="' + gallery + "_img" +		'" class="alignnone size-full ' + wpid +		'" title="' + caption +		'" src="http://www.ablogcuratedby.com/weblog/wp-content/uploads/' + source +		'" alt="' + caption +		'" width="' + xspread +		'" height="' + yspread + '" />';	document.getElementById("caption").innerHTML = "<i>" + unescape(caption) + "<\/i>";	var count = (eval(gallery + "_array").length);	for (x=1;x<=count;x++) {		var index = (x!=target) ?			"<span style=\"color:#000000\">" + x + "<\/span>" : "<b>" + x + "<\/b>"		document.getElementById("nr_" + x).innerHTML = index;	}}function browseGallery (gallery,mode) {	var source = document.images[gallery + "_img"].src.substr(56);	var count = (eval(gallery + "_array").length);	for (x=1;x<=count;x++) {		if (source==eval(gallery + "_array")[x-1][1]) {			switch (mode) {				case '+': var target = (x!=count) ? Number(x+1) : 1; break;				case '-': var target = (x!=1) ? Number(x-1) : Number(count); break;			}; parseGallery(gallery,target); break;		}	}}//end/* ]]> */