﻿        var homeCurrClass = '';
        var homeNavLocation = 'Generic.aspx?PAGE=Teck Site/Media Pages/Article Pages/Responsibility - Zinc&portalName=tc';

        function homeShowImage(div, img) {

            document.getElementById('Banner_1_b1').className = 'navbutton';
            document.getElementById('Banner_1_b2').className = 'navbutton';
            document.getElementById('Banner_1_b3').className = 'navbutton';

            if (img == '1') {
                homeNavLocation = 'Generic.aspx?PAGE=Teck Site/Media Pages/Article Pages/Responsibility - Zinc&portalName=tc';
                document.getElementById('Banner_1_b1').className = homeCurrClass = 'navbutton selected';
                document.getElementById('Banner_1').style.backgroundImage = 'url(tc_images/home/HP_Zinc-Plays-a-Vital-Role.jpg)';
                document.getElementById('Banner_1_more').style.top = '170px';
                document.getElementById('Banner_1_more').style.left = '250px'; 
		} else if (img == '2') {
                homeNavLocation = 'Generic.aspx?PAGE=Teck+Site%2fMedia+Pages%2fArticle+Pages%2fTrojan+Pond+&portalName=tc';
                document.getElementById('Banner_1_b2').className = homeCurrClass = 'navbutton selected';
                document.getElementById('Banner_1').style.backgroundImage = 'url(tc_images/home/HP_Trojan-Pond-2.jpg)';
                document.getElementById('Banner_1_more').style.top = '188px';
                document.getElementById('Banner_1_more').style.left = '825px';
            } else if (img == '3') {
                homeNavLocation = 'Generic.aspx?PAGE=Teck Site/Media Pages/Article Pages/Metals Create Possibilities&portalName=tc';
                document.getElementById('Banner_1_b3').className = homeCurrClass = 'navbutton selected';
                document.getElementById('Banner_1').style.backgroundImage = 'url(tc_images/home/HP_Metals-Create-Possibilities.jpg)';
                document.getElementById('Banner_1_more').style.top = '162px';
                document.getElementById('Banner_1_more').style.left = '812px';
            }
        }

        function homeReadMore() {
            document.location = homeNavLocation;
        }
        function homeButtonOver(div) {
            homeCurrClass = div.className;
            div.className = 'navbutton selected';
        }
        function homeButtonOut(div) {
            div.className = homeCurrClass;
        }


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features);
  return false;
}

function MM_regexImage(id, matchstring, pattern, img) {
    var reg = new RegExp(pattern);
    if (reg.test(matchstring))
        MM_swapImage(id, '', img, 1);
}

function MM_regexClass(id, matchstring, pattern, className) {
    var reg = new RegExp(pattern);
    if (reg.test(matchstring))
    {
        id.className = className;
    }
}

function tc_confirm(url)
{
	if(confirm("Important Notice\n\nMaterials contained on this website may be deemed to be solicitation materials in respect of Teck Cominco's proposed exchange offer for the shares of Aur Resources Inc. On July 17, 2007, Teck Cominco filed a Registration Statement on Form F-8 (containing an offer to purchase and a share exchange takeover bid circular) with the United States Securities and Exchange Commission (\"SEC\"). Teck Cominco, if required, will file other documents regarding the proposed tender offer with the SEC.\n\nInvestors and shareholders are urged to read the takeover bid circular, Registration Statement, and any other relevant documents filed or that will be filed with the SEC when they become available because they will contain important information about the offer for Aur Resources shares. These documents will be available without charge on the SEC's web site at www.sec.gov and may be obtained without charge from the SEC at telephone number 800-SEC-0330. Free copies of these documents can also be obtained by directing a request to Teck Cominco, 600-200 Burrard Street, Vancouver, British Columbia, Canada, V6C 3L9, Attention: Corporate Secretary, by telephone to (604) 687-1117, or by e-mail to: info@teckcominco.com.\n\nPlease click \"OK\" to confirm that you have read the above notice. Or click \"Cancel\" if you do not wish to proceed."))
	{
		if(url)
			document.location = url;
		else
			return;
	}
	else
	{
		if(!url)
			document.location = '/';
	}
}
