//MSSERVER = "http://145.18.125.63"
//MSPATH = "/scripts/mapserv.exe"
//MSMAP="c:/mapclient/examples/examples.map"

MSSERVER = "http://freyr2.yellow.sara.nl:1616"
MSPATH = "/scripts/mapserv"
MSMAP = "../../mapclient/docs/examples/examples.map"

MSURL = MSSERVER + MSPATH 
EXSERVER = location.href.replace(/(http:\/\/.*?)\/.*/,"$1")
MSINSTALLED = MSSERVER == EXSERVER
if (! MSINSTALLED && ! location.href.match(/main.html/)) {
	msg = ("-------------------------WARNING----------------------------\n\n") 
	msg += ("Examples should be run from the same WebServer as MapServer\n")
	msg += ("Examples are on: " + EXSERVER)
	msg += ("; MapServer is on: " + MSSERVER + "\n")
	msg += ("Please adapt \"examples.js\" in MapClient's root directory")
	alert(msg) 
}
	
