public function addJavaScript($javascript, $location = 'up')
	{
		$nodeWorking = XmlUtil::CreateChild($this->_nodePage, "script", "");
		XmlUtil::AddAttribute($nodeWorking, "language", "javascript");
		XmlUtil::AddAttribute($nodeWorking, "location", $location);
		XmlUtil::AddTextNode($nodeWorking, $javascript);
	}