var wnd=null; 
function showImage()
	{
		
		var strImgUrl;
		var obj;
		var arr;
			obj = document.forms[0].elements;
			
			if (document.getElementById("myBanner1_hImgUrl") != null)
			{
				alert(document.getElementById("myBanner1_hImgUrl").value);
				strImgUrl = document.getElementById("myBanner1_hImgUrl").value;				
				document.getElementById("myBanner1_myImage").src = strImgUrl ;
			
			}
			if (document.getElementById("myBanner2_hImgUrl") != null)
			{
				
				strImgUrl = document.getElementById("myBanner2_hImgUrl").value;
				//alert("Image " + strImgUrl);
				document.getElementById("myBanner2_myImage").src = strImgUrl ;
			
			}
			
			if (document.getElementById("myBanner3_hImgUrl") != null)
			{
				
				strImgUrl = document.getElementById("myBanner3_hImgUrl").value;
				
				document.getElementById("myBanner3_myImage").src = strImgUrl ;
			
			}
			
			if (document.getElementById("myBanner4_hImgUrl") != null)
			{
				
				strImgUrl = document.getElementById("myBanner4_hImgUrl").value;
				//alert("Image " + strImgUrl);
				document.getElementById("myBanner4_myImage").src = strImgUrl ;
			
			}
			
	}
	
	function showBannerPage(str)
			{
			var strPgLink;
			if (str.id=="bannerImage1")
			{if (document.getElementById("hBannerPageLink1") != null)
			{strPgLink = document.getElementById("hBannerPageLink1").value;	}
			}
			if (str.id=="bannerImage2")
			{if (document.getElementById("hBannerPageLink2") != null)
			{strPgLink = document.getElementById("hBannerPageLink2").value;	}
			}
			if (str.id=="bannerImage3")
			{if (document.getElementById("hBannerPageLink3") != null)
			{strPgLink = document.getElementById("hBannerPageLink3").value;	}
			}
			if (str.id=="bannerImage4")
			{if (document.getElementById("hBannerPageLink4") != null)
			{strPgLink = document.getElementById("hBannerPageLink4").value;	}
			}
			
			if(document.all)
			{ 
				if(wnd)
				{ 
					wnd.close(); 
					wnd = null; 
				} 
			} 


			wnd =window.open(strPgLink);
			
			if (wnd)
			{
			wnd.focus(); 
			}
			else
			{
			alert("Your browser seems to block the opening of popup windows.");
			}
			}
		
	