<!--

function MakeArray(n) {
        this.length = n
        return this
}

monthNames = new MakeArray(12)
monthNames[1] = "Jan"
monthNames[2] = "Feb"
monthNames[3] = "Mar"
monthNames[4] = "Apr"
monthNames[5] = "May"
monthNames[6] = "Jun"
monthNames[7] = "Jul"
monthNames[8] = "Aug"
monthNames[9] = "Sep"
monthNames[10] = "Oct"
monthNames[11] = "Nov"
monthNames[12] = "Dec"

function customDateString(oneDate) {
		var theMonth = monthNames[oneDate.getMonth() + 1]
		RightNow = new Date();
		var theYear = RightNow.getYear()
				   if (theYear >= 100 && theYear <= 1999)
				   {theYear=theYear + 1900}
				   else
				   {theYear=theYear}
		return theMonth + " " + oneDate.getDate() + ", " + theYear
}

var strBaseURL = "http://www.telus.net/";
var strHelpSiteURL ="http://m30885/";
 

     if (document.images) {            

	/* Navigation Updated November 16, 2001 */
	/* Search */
	searchtips5on = new Image();	searchtips5on.src = strBaseURL + "images/searchtips5on.gif"; 
	searchtips5off = new Image();	searchtips5off.src = strBaseURL + "images/searchtips5off.gif"; 
	/* Your Acct */
	youracct5on = new Image();		youracct5on.src = strBaseURL + "images/youracct5on.gif"; 
	youracct5off = new Image();		youracct5off.src = strBaseURL + "images/youracct5off.gif"; 
	password5on = new Image(); 		password5on.src = strBaseURL + "images/password5on.gif"; 
	password5off = new Image(); 	password5off.src = strBaseURL + "images/password5off.gif"; 
	viewyourbill5on = new Image();	viewyourbill5on.src = strBaseURL + "images/viewyourbill5on.gif"; 
	viewyourbill5off = new Image();	viewyourbill5off.src = strBaseURL + "images/viewyourbill5off.gif"; 
	/* Support */
	help5on = new Image();			help5on.src = strBaseURL + "images/help5on.gif";
	help5off = new Image();			help5off.src = strBaseURL + "images/help5off.gif";
	memberalerts5on = new Image();	memberalerts5on.src = strBaseURL + "images/memberalerts5on.gif";
	memberalerts5off = new Image();	memberalerts5off.src = strBaseURL + "images/memberalerts5off.gif";
	virusalerts5on = new Image();	virusalerts5on.src = strBaseURL + "images/virusalerts5on.gif";
	virusalerts5off = new Image();	virusalerts5off.src = strBaseURL + "images/virusalerts5off.gif";
	tutorials5on = new Image();		tutorials5on.src = strBaseURL + "images/tutorials5on.gif";
	tutorials5off = new Image();	tutorials5off.src = strBaseURL + "images/tutorials5off.gif";
	contact5on = new Image();		contact5on.src = strBaseURL + "images/contact5on.gif";
	contact5off = new Image();		contact5off.src = strBaseURL + "images/contact5off.gif";
	/* Join Us */
	signup5on = new Image();		signup5on.src = strBaseURL + "images/signup5on.gif";
	signup5off = new Image();		signup5off.src = strBaseURL + "images/signup5off.gif";
	refer5on = new Image();			refer5on.src = strBaseURL + "images/refer5on.gif";
	refer5off = new Image();		refer5off.src = strBaseURL + "images/refer5off.gif";
	/* Services & Benefits */
	directory5on = new Image();		directory5on.src = strBaseURL + "images/directory5on.gif";
	directory5off = new Image();	directory5off.src = strBaseURL + "images/directory5off.gif";
	hs5on = new Image();			hs5on.src = strBaseURL + "images/hs5on.gif";
	hs5off = new Image();			hs5off.src = strBaseURL + "images/hs5off.gif";
	dial5on = new Image();			dial5on.src = strBaseURL + "images/dial5on.gif";
	dial5off = new Image();			dial5off.src = strBaseURL + "images/dial5off.gif";
	sb5on = new Image();			sb5on.src = strBaseURL + "images/sb5on.gif";
	sb5off = new Image();			sb5off.src = strBaseURL + "images/sb5off.gif";
	news5on = new Image();			news5on.src = strBaseURL + "images/news5on.gif";
	news5off = new Image();			news5off.src = strBaseURL + "images/news5off.gif";
	webspace5on = new Image();		webspace5on.src = strBaseURL + "images/webspace5on.gif";
	webspace5off = new Image();		webspace5off.src = strBaseURL + "images/webspace5off.gif";
	tools5on = new Image();			tools5on.src = strBaseURL + "images/tools5on.gif";
	tools5off = new Image();		tools5off.src = strBaseURL + "images/tools5off.gif";
	/* Webmail */
	webmail5on = new Image();		webmail5on.src = strBaseURL + "images/webmail5on.gif";
	webmail5off = new Image();		webmail5off.src = strBaseURL + "images/webmail5off.gif";
	wireless5on = new Image();		wireless5on.src = strBaseURL + "images/wireless5on.gif";
	wireless5off = new Image();		wireless5off.src = strBaseURL + "images/wireless5off.gif";
 
	/* Specific Help Mouseovers */
	getmorehelpon = new Image();  	getmorehelpon.src = strBaseURL + "images/l3-getmorehelpon.gif";
	getmorehelpoff = new Image();  	getmorehelpoff.src = strBaseURL + "images/l3-getmorehelpoff.gif";
	helpwizardhelpon = new Image(); helpwizardhelpon.src = strBaseURL + "images/l3-helpwizardhelpon.gif";
	helpwizardhelpoff = new Image(); helpwizardhelpoff.src = strBaseURL + "images/l3-helpwizardhelpoff.gif";
	startoveron = new Image();  	startoveron.src = strBaseURL + "images/l3-startoveron.gif";
	startoveroff = new Image();  	startoveroff.src = strBaseURL + "images/l3-startoveroff.gif";
	showallon = new Image();  		showallon.src = strBaseURL + "images/l3-showallsolutionson.gif";
	showalloff = new Image(); 		showalloff.src = strBaseURL + "images/l3-showallsolutionsoff.gif";
	changeyourmindon = new Image(); changeyourmindon.src = strBaseURL + "images/l3-changeyourmindon.gif";
	changeyourmindoff = new Image(); changeyourmindoff.src = strBaseURL + "images/l3-changeyourmindoff.gif";

}

    function imgOn(imgName) {
            if (document.images) {
                document[imgName].src = eval(imgName + "on.src");       
            }
    }

    function imgOff(imgName) {
            if (document.images) {
                document[imgName].src = eval(imgName + "off.src");        
            }
    }


	function goThere() {

		var sengine = document.searchform.engine.value;
		var string = document.searchform.query.value;
		var stringfixed = escape(string);

	if (document.searchform.engine.selectedIndex == 0) { 
		document.searchform.action= "http://help.telus.net/selfhelp/search.asp";
		document.searchform.method="post"
	} else if (document.searchform.engine.selectedIndex == 1) {
		location = "http://www.altavista.ca/cgi-bin/query?q=" + stringfixed;
	} else { 
		location = "http://www.altavista.com/cgi-bin/query?q=" + stringfixed;
	}
}

function getlink ( locale )
{
  // url to pass
  var locate = window.location;

  var fixedLocation = unescape(locate);
  var first_split = fixedLocation.split("//");
  var withoutHTTP = first_split[1]; 
  var ABloc = withoutHTTP.indexOf("/AB/");
  var BCloc = withoutHTTP.indexOf("/BC/");
  var ONloc = withoutHTTP.indexOf("/ON/");

  // if URL is regionalized, remove the region so new cookie can set page
  if (ABloc != -1) { 
  var ABloc = withoutHTTP.split("/AB/");
  document.orig.page.value = "http://" + ABloc[0] + "/" + ABloc[1];
  } else if (BCloc != -1) {
  var BCloc = withoutHTTP.split("/BC/");
  document.orig.page.value = "http://" + BCloc[0] + "/" + BCloc[1];
  } else if (ONloc != -1) {
  var ONloc = withoutHTTP.split("/ON/");
  document.orig.page.value = "http://" + ONloc[0] + "/" + ONloc[1];
  } else {
//  var locate = window.location;
  document.orig.page.value = locate;
  }
  
  //submit hyperlink
  document.orig.linkurl.value = locale ;
  document.orig.submit() ;
}

function getlink7 ( locale7 )
{
  // url to pass
  var locate7 = window.location;

  var fixedLocation7 = unescape(locate7);
  var first_split7 = fixedLocation7.split("//");
  var withoutHTTP7 = first_split7[1]; 
  var ABloc7 = withoutHTTP7.indexOf("/AB/");
  var BCloc7 = withoutHTTP7.indexOf("/BC/");
  var ONloc7 = withoutHTTP7.indexOf("/ON/");

  // if URL is regionalized, remove the region so new cookie can set page
  if (ABloc7 != -1) { 
  var ABloc7 = withoutHTTP7.split("/AB/");
  document.orig7.page7.value = "http://" + ABloc7[0] + "/" + ABloc7[1];
  } else if (BCloc7 != -1) {
  var BCloc7 = withoutHTTP7.split("/BC/");
  document.orig7.page7.value = "http://" + BCloc7[0] + "/" + BCloc7[1];
  } else if (ONloc7 != -1) {
  var ONloc7 = withoutHTTP7.split("/ON/");
  document.orig7.page7.value = "http://" + ONloc7[0] + "/" + ONloc7[1];
  } else {
//  var locate7 = window.location;
  document.orig7.page7.value = locate7;
  }
  
  //submit hyperlink
  document.orig7.linkurl7.value = locale7 ;
  document.orig7.submit() ;
}


	
// -->