function GoBack()
{
window.history.back()
}
function OpenWindow(Pic)
	{

	if (Pic==1) {
	         PicName = "apartment"
		 Title = "Marina With Apartment Development at Carrick On Shannon"
		 Height = 404
		 Width =  600
	 } else {
	if (Pic==2) {
	         PicName = "hill"
		 Title = "Prespa Lake, Greece"
		 Height = 394
		 Width =  750
	 } else {
	if (Pic==3) {
	         PicName = "prespa"
		 Title = "Prespa Lake, Greece"
		 Height = 295
		 Width =  453
	 } else {
	if (Pic==4) {
	         PicName = "ramp"
		 Title = "Dromod, Co. Leitrim"
		 Height = 596
		 Width =  400
	 } else {
	if (Pic==5) {
	         PicName = "Dublin"
		 Title = "Charlotte Quay, Dublin"
		 Height = 369
		 Width = 531 
	 } else {
	if (Pic==6) {
	         PicName = "flotation"
		 Title = "Detail of Flotation Unit"
		 Height = 438
		 Width =  600
	 } else {
	if (Pic==7) {
	         PicName = "boats"
		 Title = "Greece"
		 Height = 537 
		 Width =  780
	 } else {
	if (Pic==8) {
	         PicName = "limerick"
		 Title = "Georges Quay, Limerick"
		 Height = 540
		 Width =  690
	 } else {
	if (Pic==9) {
	         PicName = "marina"
		 Title = "Large Marina"
		 Height = 550 
		 Width =  610
	 } else {
	if (Pic==10) {
	         PicName = "ballin" 
		 Title = "Marina at Ballinasloe"
		 Height = 399
		 Width =  600
	 } else {
	if (Pic==11) {
	         PicName = "ballinasloe2"
		 Title = "Marina at Ballinasloe"
		 Height = 449
		 Width =  600
	 } else {
	if (Pic==12) {
	         PicName = "kilmore" 
		 Title = "Kilmore Quay, Waterford"
		 Height = 328 
		 Width =  600
	 } else {
	if (Pic==13) {
	         PicName = "greece2" 
		 Title = "Greece"
		 Height = 597
		 Width =  400
	 } else {
	if (Pic==14) {
	         PicName = "kilmore2" 
		 Title = "Kilmore Quay, Waterford"
		 Height = 396
		 Width =  600
	 } else {
	if (Pic==15) {
	         PicName = "fingers" 
		 Title = "Fingers"
		 Height = 429
		 Width =  600
	 } else {
	if (Pic==16) {
	         PicName = "bar"
		 Title = "Floating Bar, Greece"
		 Height = 401
		 Width =  600
	 } else {
	if (Pic==17) {
	         PicName = "prespa2"
		 Title = "Prespa Lake, Greece"
		 Height = 400 
		 Width =  600
	 } else {
	if (Pic==18) {
	         PicName = "prespa3" 
		 Title = "Prespa Lake, Greece"
		 Height = 398
		 Width =  600
	 } else {
	 	if (Pic==19) {
	         PicName = "greece" 
		 Title = "Floating Bar, Greece"
		 Height = 398
		 Width =  600
		 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	 }
	}
	}
	var newWindow = window.open("pics.html", null, "left=10,top=10,height=" + Height + ",width=" + Width
	+ ",status=no,toolbar=no,menubar=no,location=no,scrollbars=no,titlebar=no")
	newWindow.document.write("<head> " + 
	"<title>" + Title + "</title> " +
	"<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'> " +
	"</head> " +
	"<body bgcolor='#FFFFFF' text='#000000' topmargin=0 leftmargin=0> " +
	"<img src='pictures/%22%20+%20PicName%20+%20%22.jpg'> " +
	"</body>")
//	newWindow.document.img1.src = "pictures/" + PicName + ".jpg"
	}
function test()
{

var shane=new Date()
x=shane.getDay()
if (document.img1) {
document.img1.src= "../pictures/" + (x + 1) +".jpg"
document.img2.src= "../pictures/" + (x + 3) + ".jpg"
document.img3.src= "../pictures/" + (x + 4) + ".jpg"
}
}

function OpenPic(PicName, Title, Width, Height){
	var newWindow = window.open("pics.html", null, "left=10,top=10,height=" + Height + ",width=" + Width
	+ ",status=no,toolbar=no,menubar=no,location=no,scrollbars=no,titlebar=no")
	newWindow.document.write("<head> " + 
	"<title>" + Title + "</title> " +
	"<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'> " +
	"</head> " +
	"<body bgcolor='#FFFFFF' text='#000000' topmargin=0 leftmargin=0> " +
	"<img src='pictures/%22%20+%20PicName%20+%20%22.jpg'> " +
	"</body>")
//	newWindow.document.img1.src = "pictures/" + PicName + ".jpg"
	}