SiteMeta1.deriveFrom(GenMeta1)
function SiteMeta1(){
	this.GenMeta1()
}
SiteMeta1.prototype._init=
function _init(){
	this.__GenMeta1_init()
	this.canvasPos=new MyElement(this.canvas).findPos()
	this.setMainMenu()
/*
	this.testCurr()
	
"http://currencysource.com/RSS/GBP.xml","currXml")
	this.FAC_HTTP=new MyHttp(vdir+"/lib/ss/http/sites/british-castle/findACastle.php")
	this.FAC_HTTP.appendParm("str",element.value)
	this.HTTPSend(this.FAC_HTTP,"FACReq")
*/
}
SiteMeta1.prototype.onload=
function onload(){
	this.__Meta1_onload()
	settings={
		tl:{radius:10},
		tr:{radius:10},
		bl:{radius:10},
		br:{radius:10},
		antiAlias:true,
		autoPad:false
	} 
	var cornersObj=new curvyCorners(settings,"rounded")
	cornersObj.applyCornersToAll()
}
SiteMeta1.prototype.resizeIt=
function resizeIt(){
	this.__Meta1_resizeIt()
	this.canvasPos=new MyElement(this.canvas).findPos()
	this.setMainMenuPosParms(this.MainMenu.parms)
	if(this.MainMenu)this.MainMenu.reset()
}
SiteMeta1.prototype.setMainMenu=
function setMainMenu(){
	var parent=document.getElementsByTagName("body")[0]
	var myXml=new MyXml()
	myXml.loadStr(mainMenuXml,"mainMenu")
	var parms=new Menu_parms()
	parms=this.setMainMenuPosParms(parms)
	parms=this.setStdMenuStyles(parms)
	parms.menulayerVars["types"]=["horizontal"]
	parms.menulayerVars["xDispositions"]=["right"]
	parms.menulayerVars["yDispositions"]=["down","down"]
	parms.positioning="absolute"
	parms.isResetMenu="canvasMouseout"
	this.MainMenu=new Menu(parent,myXml,parms)
	this.MainMenu.parent.element.style.fontSize="12px"	
	this.MainMenu.build()
}
SiteMeta1.prototype.setMainMenuPosParms=
function(parms){
	parms.offsetLeft=this.canvasPos[0]+100
	parms.offsetTop=this.canvasPos[1]+10
	return parms
}
SiteMeta1.prototype.setStdMenuStyles=
function(parms){
	parms.styles["backgroundColor"]="#ffffff"
	parms.styles["color"]="#000000"
	parms.styles["border"]="2px solid #000000"
	parms.styles["borderLeftColor"]="#c0c0c0"
	parms.styles["borderTopColor"]="#c0c0c0"
	parms.styles["backgroundColor"]="#ffffff"
	parms.buildStyles["backgroundColor"]="#86D5F4"
//	parms.pathStyles["color"]="#6060b0"
	parms.activeStyles["backgroundColor"]="#86D5F4"
	parms.activeStyles["fontStyle"]="italic"
	return parms
}

