function bbtlink(typ,purl,dims){

	if(dims){
		dimsVars = dims.split(',');
		w=dimsVars[0]; h=dimsVars[1]; lft=dimsVars[2]; tp=dimsVars[3];
	}else{
		lft = (screen.width*0.2)/2;
		w = (screen.width*0.8);
		tp = (screen.height*0.1)/2;
		h = (screen.height*0.7);
	}

	switch(typ){
		case "T":
			top.document.location = purl;
			break;
		case "D":
			document.location = purl;
			break;
		case "N":	//New Window
			if(purl.indexOf("http") != -1){
				extLnk = window.open(purl,'extLnk','width='+w+',height='+h+',top='+tp+',left='+lft+',status=yes,resizable=yes,toolbar=yes,location=yes,scrollbars=yes,directories=yes,');
				extLnk.focus();
			}else{
				if(NS && purl.indexOf("pdf") != -1){
					document.location.href=purl;
				}else{
					extLnk = window.open(purl,'extLnk','width='+w+',height='+h+',top='+tp+',left='+lft+',status=yes,scrollbars=yes,resizable=yes');
					extLnk.focus();
				}
			}
			break;
		case "M":	//Modal Window
			extLnk = showModalDialog(purl,'','dialogWidth:'+w+'px;dialogHeight:'+h+'px;help:no;status:no;resizable:yes;');
			break;
		case "I":	//Image Window
			if(dims){
				w = eval(w); h = eval(h); tp = eval(tp); lft = eval(lft);
			}

			extLnk = window.open('','extLnk','width='+w+',height='+h+',top='+tp+',left='+lft+',status=no,resizable=yes,toolbar=no,location=no,scrollbars=yes,directories=no,');
			extLnk.document.open();
			extLnk.document.write('<html><head><title>© 2004 BB Technologies</title></head><body style="overflow:auto;text-align:center;margin:0px;padding:0px"><img src="'+purl+'"></body></html>');
			extLnk.focus();
			break;
		case "A":
			top.frames.application.document.location = purl;
			break;
		case "C":
			top.frames.content.document.location = purl;
			break;
	
	}

}