/*********************************************************** Standard functions used throughout the database COPYRIGHT © 1999-2001 IDX Group, Inc. function opengipwindow(myURL, x, y) function SendToAFriendWin(x,y) **********************************************************/ function opengipwindow(myURL, x, y) { var xMax = 640, yMax=480; // default if (document.all) var xMax = screen.width, yMax = screen.height; else if (document.layers) var xMax = window.outerWidth, yMax = window.outerHeight; var xOffset = ((xMax - x) / 2 - 25), yOffset = ((yMax - y) / 2) + 75; msgWindow2 = window.open('','newWin','width='+x+',height='+y+',resizable=yes,toolbar=no,scrollbars=yes,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+''); msgWindow2.location.href = myURL; } /**********************************************************/ function SendToAFriendWin(x,y) { var xMax = 640, yMax=480; // default var Source = escape(document.forms[0].ThisDB.value); var Title = escape(document.forms[0].PRTitle.value); var Refurl = location.pathname; if (document.all) var xMax = screen.width, yMax = screen.height; else if (document.layers) var xMax = window.outerWidth, yMax = window.outerHeight; var xOffset = ((xMax - x) / 2 - 25), yOffset = ((yMax - y) / 2) + 50; windowVar = window.open("http://www.greeceinprint.com/sendtoafriend.nsf/Memo?OpenForm&title=" + Title + "&url=" + Refurl + "&site=" + Source, "SendToAFriend", 'width='+x+',height='+y+',resizable=no,toolbar=no,scrollbars=yes,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+'' ); windowVar.focus(); }