// JavaScript Document

function album()
{
	var parser = "album=";
	var theURL = unescape(document.location.toString());
	var directory = "pics/";
	var thefile = "/1.html";
	var album="picof"
	var setinline = "";
	//alert(theURL);
		
	if(theURL.search(parser)!=-1){
		album = theURL.substring(theURL.lastIndexOf(parser)+6);
		
		}
	setinline=directory+album+thefile;
	inline.location.href=setinline;
	//alert(setinline);
	//window.location.href=emailto;

}//end sendto(brother)

album();
