/* Author:	David Smith
 * Contact:	skyceo@aol.com
 * Website:	http://www.avitar.net
 * Copyright:	Copyright 2003 David P. Smith, all rights reserved.
 * File:	config.data.js
 * Created:	12/15/2003
 * LastMod:	12/18/2003
 * Summary:	loads the javascripts config & code that will be on All pages.
 */
/*--Begin Config Variables-----------------------------------------------*/
var CONFIG_PRIMEURI ="http://www.avitar.net/";  // Primary URL to the website directory (via web)
var CONFIG_RPATHTOJS=CONFIG_PRIMEURI+"js/";     // Reletive folder/directoty URI to the Javascripts (via web)
var CONFIG_EXTCSSDIR=CONFIG_PRIMEURI+"css/";    // Reletive folder/directoty to the Cascading Style Sheets
var CONFIG_PATHTOIMG=CONFIG_PRIMEURI+"pic/";    // Reletive folder/directoty to the Image Directory
var CONFIG_PATHTOSND=CONFIG_PRIMEURI+"audio/";  // Reletive folder/directoty to the audio Directory
/*--End Config-----------------------------------------------------------*/
function CONFIG_LoadStyleSheet(mySheet) {var myContent = '\n<LINK HREF="'+mySheet+'" TYPE="text/css" REL="StyleSheet" TITLE="24-bit Color Style">'; return myContent;}
function CONFIG_LoadScript(myScript) {var myContent = '\n<SCR'+'IPT LANGUAGE="javascr'+'ipt" SRC="'+myScript+'" TYPE="text/javascr'+'ipt"></SCR'+'IPT>';	return myContent; }
function CONFIG_EmbedScript(myScript) {var myContent = '\n<SCR'+'IPT LANGUAGE="javascr'+'ipt" TYPE="text/javascr'+'ipt">\n<!--\n'+myScript+'\n//-->\n</SCR'+'IPT>'; return myContent;}
function CONFIG_load() {
	var myContent = '';
	myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"AEF_API.js");
	myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"AEF_EXT_location.js");
        myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"AEF_EXT_resize2win.js");
	myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"ticker.js");
	myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"liveclock.js");
	myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"fadelinks.js");
        //for menu
        //myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"menu.load.js");
	myContent += CONFIG_LoadStyleSheet(CONFIG_RPATHTOJS+"pop_style.css");
	myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"pop_core.js");
        myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"pop_data.js");
        myContent += CONFIG_LoadScript(CONFIG_RPATHTOJS+"pop_events.js");
        document.write(myContent);
}
function CONFIG_loadlast(){
	var myContent = '';
    //used to hide the sitemap from javascript capable browsers
    myContent += CONFIG_EmbedScript("api_DeV(api_gE('SITEMAP'));");
	//used to create the directory look 
        myContent += CONFIG_EmbedScript("ext_location('LOCATION');");
        document.write(myContent);
        
        //api_eL(api_gE('SEARCH'),true);
	ext_resize2win('TOP',350,-1,0);
	ext_resize2win('LOCATION',350,-1,0);
	ext_resize2win('CONTENT',350,-1,0);
	ext_resize2win('FOOTER',350,-1,0);	
}
CONFIG_load();

