var url
/*
function getURL() {
	
		var test =  show(url);
		document.location.href= test;	
		
		}*/
	
	function show(id, newSrc)
	{
	    var theImage = FindImage(document, id, 0);
	    if (theImage)
	        theImage.src = newSrc;
			//theImage.link = theImage.document.write('<a href="' + url + '">');
			
			//theImage.href = document.write('<a href="' + url + '">')
			//var links = url;			
			//alert(links)
	}
	

	function FindImage(doc, name, j)
	{
	    var theImage = false;
	    if (doc.images)
		{
	        theImage = doc.images[name];
	    }
	    if (theImage)
		{
	        return theImage;
	    }
	    if (doc.layers)
		{
	        for (j=0; j<doc.layers.length; j++)
			{
	            theImage = FindImage(doc.layers[j].document, name, 0);
	            if (theImage)
				{
	                return (theImage);
	            }
	        }
	    }
	    return (false);
	}

		