/////////////////////////////////////////////////////////////////////////////
// Function : NavNode (constructor)
// Comments :
/////////////////////////////////////////////////////////////////////////////
function NavNode(id, label, href, parent)
{
	this.m_parent = null;
	this.m_level = 0;

	if (parent)
	{
		this.m_parent = parent;
		this.m_level = parent.m_level+1;
	}

	this.m_id = id;

	// assume that m_label will most often be used directly as HTML
	this.m_rawlabel = label;

	label = label.replace(/&/g, '&amp;');
	label = label.replace(/</g, '&lt;');
	label = label.replace(/>/g, '&gt;');
	label = label.replace(/"/g, '&quot;');

	this.m_label = label;

	this.m_href = href;
	this.m_subNodes = new Array();

	var argValues = NavNode.arguments;
	var argCount = NavNode.arguments.length;

	for (i = 4 ; i < argCount ; i++)
	{
		var attrName = argValues[i].split("==")[0];
		var attrValue = argValues[i].split("==")[1];

		eval("this.cp_" + attrName + " = '" + attrValue + "';");
	}

	NavNode.prototype.addNode = addNode;
	NavNode.prototype.isSelected = isSelected;
}

/////////////////////////////////////////////////////////////////////////////
// Function : addNode
// Comments :
/////////////////////////////////////////////////////////////////////////////
function addNode(id, label, href)
{
	var newIndex = this.m_subNodes.length;
	var newNode = new NavNode(id, label, href, this);

	var argValues = addNode.arguments;
	var argCount = addNode.arguments.length;

	for (i = 3 ; i < argCount ; i++)
	{
		var attrName = argValues[i].split("==")[0];
		var attrValue = argValues[i].split("==")[1];

		eval("newNode.cp_" + attrName + " = '" + attrValue + "';");
	}

	this.m_subNodes[newIndex] = newNode;
	return newNode;
}

/////////////////////////////////////////////////////////////////////////////
// Function : isSelected
// Comments :
/////////////////////////////////////////////////////////////////////////////
function isSelected()
{
    var pos = window.location.href.lastIndexOf("/");
    var docname = window.location.href.substring(pos+1, window.location.href.length);

    pos = this.m_href.lastIndexOf("/");
    var myname = this.m_href.substring(pos+1, this.m_href.length);

    if (docname == myname)
		return true;
	else
		return false;
}

/////////////////////////////////////////////////////////////////////////////
// Function : customSectionPropertyExists
// Comments :
/////////////////////////////////////////////////////////////////////////////
function customSectionPropertyExists(csp)
{
	return (typeof csp != _U && csp != null);
}

/////////////////////////////////////////////////////////////////////////////
// Function : getCustomSectionProperty
// Comments :
/////////////////////////////////////////////////////////////////////////////
function getCustomSectionProperty(csp)
{
	if (customSectionPropertyExists(csp))
	{
		return csp;
	}
	else
	{
		return "";
	}
}

/////////////////////////////////////////////////////////////////////////////

var g_navNode_Root = new NavNode('261','Home',ssUrlPrefix + 'index.htm',null,'DESCRIPTION==PVJapan 2010 is a comprehensive photovoltaics event \x28trade show, seminars\x29 for the global solar power supply chain. Visit the website to learn more about how to exhibit in 2010.','Description==PVJapan is a new photovoltaics expo dedicated to the global solar photoltaics supply chain. With a tradeshow, technical symposium, seminars and receptions, there is something for everyone from technical expert to student.','TITLE==PVJapan 2010 Solar Power/Photovoltaic-PV-Expo \x26 Seminars','TitleTag==PVJapan 2008 \x26ndash\x3b A Comprehensive PV Exposition For the Global Solar Power Supply Chain');
g_navNode_0=g_navNode_Root.addNode('262','About PVJapan',ssUrlPrefix + 'About/index.htm','Description==General information about PVJapan 2008','TitleTag==About PVJapan 2008','cellWidth==82','secondaryUrlVariableField==region8');
g_navNode_0_0=g_navNode_0.addNode('271','Contact',ssUrlPrefix + 'About/Contact/index.htm','Description==Contact the PVJapan office for questions about registration or to learn more about exhibiting at the pv expo. ','TitleTag==Contact Us','secondaryUrlVariableField==region8');
g_navNode_0_1=g_navNode_0.addNode('1402','Sponsors',ssUrlPrefix + 'About/Sponsors/index.htm');
g_navNode_0_2=g_navNode_0.addNode('284','Media Partners',ssUrlPrefix + 'About/MediaPartners/index.htm','Description==PVJapan Media Partners. The following media outlets are official PVJapan Media Partners','TitleTag==Media Partners');
g_navNode_1=g_navNode_Root.addNode('264','Exhibitors',ssUrlPrefix + 'Exhibitors/index.htm','Description==Information for Companies Exhibiting at PVJapan. Find out why your company should exhibit at PVJapan 2009','TitleTag==Information for Exhibitors','cellWidth==82','secondaryUrlVariableField==region8');
g_navNode_1_0=g_navNode_1.addNode('277','Exhibit Now',ssUrlPrefix + 'Exhibitors/ExhibitNow/index.htm','Description==Information on how to register to Exhibit at PVJapan 2009','TitleTag==Register to Exhibit','contributorOnly==FALSE','secondaryUrlVariableField==region8');
g_navNode_1_1=g_navNode_1.addNode('329','Request Information',ssUrlPrefix + 'Exhibitors/RFI/index.htm','contributorOnly==FALSE');
g_navNode_1_2=g_navNode_1.addNode('279','Preparing to Exhibit',ssUrlPrefix + 'Exhibitors/PreparingtoExhibit/index.htm','Description==Information on preparing to exhibit at PVJapan including ways to promote your booth','TitleTag==Preparing to Exhibit','secondaryUrlVariableField==region8');
g_navNode_1_3=g_navNode_1.addNode('280','Floor Plan',ssUrlPrefix + 'Exhibitors/FloorPlan/index.htm','Description==PDF floor plans for the PVJapan 2008 tradeshow','TitleTag==Floor Plan','secondaryUrlVariableField==region8');
g_navNode_1_4=g_navNode_1.addNode('326','Promotion Tools',ssUrlPrefix + 'Exhibitors/PromotionTools/index.htm','Description==Information on tools you can use to promote your booth and company during PVJapan 2008','TitleTag==Advertising and Other Promotion Tools','secondaryUrlVariableField==region8');
g_navNode_1_5=g_navNode_1.addNode('714','Logo Download',ssUrlPrefix + 'Exhibitors/LogoDownload/index.htm','Description==Exhibitors - Download the PVJapan logo to place on your site. Make it known that you will be exhibiting at PVJapan.','TitleTag==Download the PVJapan 2008 Logo','contributorOnly==FALSE');
g_navNode_2=g_navNode_Root.addNode('263','Visitors',ssUrlPrefix + 'Visitors/index.htm','Description==Information for visitors to the PVJapan photovoltaics tradeshow','TitleTag==Attend PVJapan 2008 - Information for Visitors','cellWidth==82','secondaryUrlVariableField==region8');
g_navNode_2_0=g_navNode_2.addNode('273','Register',ssUrlPrefix + 'Visitors/Register/index.htm','Description==How to register for the PVJapan 2008 solar power/pv expo. Pre-register and be entered to win a special gift.','TitleTag==Register for the PVJapan Tradeshow','secondaryUrlVariableField==region8');
g_navNode_2_1=g_navNode_2.addNode('274','Exhibitor List',ssUrlPrefix + 'Visitors/ExhibitorList/index.htm','Description==The list of companies exhibiting at PVJapan 2008','TitleTag==List of Exhibitors','secondaryUrlVariableField==region8');
g_navNode_2_2=g_navNode_2.addNode('275','Venue',ssUrlPrefix + 'Visitors/FloorGuide/index.htm','Description==Information on the PVJapan 2008 venue at Tokyo Big Sight','TitleTag==PVJapan 2008 Venue at PVJapan 2008','secondaryUrlVariableField==region8');
g_navNode_2_3=g_navNode_2.addNode('276','Hotels \x26 Travel',ssUrlPrefix + 'Visitors/HotelTravel/index.htm','Description==Information on how to get to PVJapan and where to stay when you get here.','TitleTag==Hotels and Travel','secondaryUrlVariableField==region8');
g_navNode_3=g_navNode_Root.addNode('1041','Seminars \x26 Networking',ssUrlPrefix + 'Seminars/index.htm');
g_navNode_3_0=g_navNode_3.addNode('1026','Schedule',ssUrlPrefix + 'Seminars/schedule/index.htm','Description==Master schedule of technical seminars and events at PVJapan 2008/Renewable Energy World Fair','TitleTag==Master Schedule of Seminars and Events','categorize==TRUE','categorizeEvents==TRUE','eventQuery==xType \x3cmatches\x3e \x60PVJAPAN_SESSION\x60');
g_navNode_3_1=g_navNode_3.addNode('1011','Keynotes',ssUrlPrefix + 'Seminars/Keynotes/index.htm','Description==Keynote speeches at PVJapan 2008','TitleTag==Keynote Speeches','contributorOnly==FALSE','secondaryUrlVariableField==region8');
g_navNode_3_2=g_navNode_3.addNode('1398','Business',ssUrlPrefix + 'Seminars/Business/index.htm','secondaryUrlVariableField==region8');
g_navNode_3_3=g_navNode_3.addNode('1399','R\x26D',ssUrlPrefix + 'Seminars/Research/index.htm','secondaryUrlVariableField==region8');
g_navNode_3_4=g_navNode_3.addNode('1008','Tutorials',ssUrlPrefix + 'Seminars/Tutorials/index.htm','Description==To help promote knowledge about solar photovoltaics, various tutorials will be held at PVJapan on topics related to technology, business and adoption.','TitleTag==Photovoltaics Tutorials','contributorOnly==FALSE','secondaryUrlVariableField==region8');
g_navNode_3_5=g_navNode_3.addNode('1397','PV Adoption',ssUrlPrefix + 'Seminars/Adoption/index.htm','secondaryUrlVariableField==region8');
g_navNode_3_6=g_navNode_3.addNode('1396','Standards',ssUrlPrefix + 'Seminars/Standards/index.htm','secondaryUrlVariableField==region8');
g_navNode_3_7=g_navNode_3.addNode('1012','Seminars by Exhibitors',ssUrlPrefix + 'Seminars/SeminarsByExhibitors/index.htm','Description==A number of presentations and seminars will be offered by PVJapan exhibitors, including anncouncements of brand new technology and products','TitleTag==Seminars and Presentations by Exhibitors','contributorOnly==FALSE','secondaryUrlVariableField==region8');
g_navNode_3_8=g_navNode_3.addNode('1010','Receptions',ssUrlPrefix + 'Seminars/Receptions/index.htm','Description==PVJapan has a number of receptions providing excellent opportunities to network with leaders from the global solar photovoltaic industry.','TitleTag==Networking Events and Receptions at PVJapan','contributorOnly==FALSE','secondaryUrlVariableField==region8');
g_navNode_4=g_navNode_Root.addNode('266','Press',ssUrlPrefix + 'Press/index.htm','Description==Information for members of the media including information on press conferences and other press-related matters at PVJapan','TitleTag==Media Relations','cellWidth==82','secondaryUrlVariableField==region8');
g_navNode_5=g_navNode_Root.addNode('267','Industry Information',ssUrlPrefix + 'IndustryInfo/index.htm','Description==Information about the Global Photovoltaics Industry and What JPEA and SEMI are Doing to Support Its Growth','TitleTag==Industry Information','cellWidth==82','secondaryUrlVariableField==region8');
g_navNode_5_0=g_navNode_5.addNode('285','About SEMI',ssUrlPrefix + 'IndustryInfo/AboutSEMI/index.htm','Description==Information about Semiconductor Equipment and Materials International','TitleTag==About SEMI','secondaryUrlVariableField==region8');
g_navNode_5_1=g_navNode_5.addNode('286','About JPEA',ssUrlPrefix + 'IndustryInfo/AboutJPEA/index.htm','Description==Information about Japan Photovoltaic Energy Association','TitleTag==About JPEA');
g_navNode_6=g_navNode_Root.addNode('1262','Past Events',ssUrlPrefix + 'Past/index.htm','contributorOnly==FALSE','secondaryUrlVariableField==region8');
g_navNode_6_0=g_navNode_6.addNode('1263','Exhibition',ssUrlPrefix + 'Past/Exhibition/index.htm','secondaryUrlVariableField==region8');
g_navNode_6_1=g_navNode_6.addNode('1264','Keynotes',ssUrlPrefix + 'Past/Keynotes/index.htm','secondaryUrlVariableField==region8');
g_navNode_6_2=g_navNode_6.addNode('1265','Receptions',ssUrlPrefix + 'Past/Receptions/index.htm','secondaryUrlVariableField==region8');
g_navNode_6_3=g_navNode_6.addNode('1266','SpecialStage',ssUrlPrefix + 'Past/SpecialStage/index.htm','secondaryUrlVariableField==region8');
g_navNode_6_4=g_navNode_6.addNode('1267','Tutorials',ssUrlPrefix + 'Past/Tutorials/index.htm','secondaryUrlVariableField==region8');
g_navNode_6_5=g_navNode_6.addNode('1268','JPEA Symposium',ssUrlPrefix + 'Past/JPEA/index.htm','secondaryUrlVariableField==region8');
