function jumpURL ( urlno )
{
	switch ( urlno ) {
		case 0 :
			document.location.href = 'teddybear.htm';
			break;
		case 1 :
			document.location.href = 'info.htm';
			break;
		case 2 :
			document.location.href = 'design.htm';
			break;
		case 3 :
			document.location.href = 'checkout.htm';
			break;
		case 4 :
			document.location.href = 'security.htm';
			break;
		case 5 :
			document.location.href = 'returns.htm';
			break;
		case 6 :
			document.location.href = 'delivery.htm';
			break;
		case 7 :
			document.location.href = 'terms1.htm';
			break;
		case 8 :
			document.location.href = 'contact.htm';
			break;
		case 9 :
			document.location.href = 'sitemap.htm';
			break;
		case 10 :
			document.location.href = 'ebayterms.htm';
			break;
		case 11 :
			document.location.href = 'gallery.htm';
			break;
		case 12 :
			document.location.href = 'http://www.teddybearsearch.com';
			break;			
		case 13 :
			document.location.href = 'http://www.tbonnet.com';
			break;		
		case 14 :
			document.location.href = 'http://www.bears-direct.com/topsites/in.php?id=28';
			break;
		case 17 :
			document.location.href = 'http://www.britishbearsonthenet.co.uk'
			break;
		case 18 :
			document.location.href = 'http://search.ebay.co.uk/_W0QQgotopageZ1QQsassZtiptoe63QQsorecordsperpageZ50QQsosortorderZ1QQsosortpropertyZ1';
			break;			
		case 19 :
			document.location.href = 'http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&category=389&item=5536938207&rd=1&ssPageName=WDVW';
			break;			
		case 20 :
			document.location.href = 'http://www.britishbears.free-online.co.uk/html/mainframe_bbn.htm';
			break;			
		case 21 :
			document.location.href = "http://www.statcounter.com";
			break;			
		case 22 :
			document.location.href = 'terms2.htm';
			break;
		case 23 :
			document.location.href = 'comp.htm?message=1';
			break;
		case 24:
			document.location.href = 'http://www.lonham.co.uk/';
			break;
		case 25:
			document.location.href = 'resources.htm';
			break;
		case 26 :
			document.location.href = 'http://search.msn.co.uk/';
			break;
		case 27 :
			document.location.href = 'http://www.topteddybears.co.uk';
			break;
		case 28 :
			document.location.href = 'http://www.hot50teddybears.com';
			break;
		case 29 :
			document.location.href = 'http://www.werenotafraid.com';
			break;
		case 30 :
			document.location.href = 'http://www.beartoday.com/topsites/redirect.asp?act=in&siteid=43';
			break;
		case 31 :
			document.location.href = 'http://www.fsb.org.uk/';
			break;
		case 32 :
			document.location.href = 'http://www.craftscouncil.org.uk/';
			break;
		case 33 :
			document.location.href = 'http://www.icra.org/sitelabel/';
			break;
			
		case 34:
			document.location.href = 'http://www.topteddybears.co.uk/topsites/in.php?id=albion';
			break;
		
	}			
}

function getBanners() 
{
//	document.bn0.src = "http://www.teddybearshug.com/topsites/index.php?do=in&id=158";
//	document.bn1.src = "http://bid4bears.com/Top50/button.php?u=albion";
//	document.bn1.src = "http://www.teddycentral.com/Topsite/utopsites/index.php?do=in&id=90";
//	document.bn1.src = "http://www.teddycentral.com/images/teddycentralbanner.jpg";
	document.bn2.src = "http://www.bears-direct.com/topsites/button.php?id=28";
	document.bn10.src = "http://www.beartoday.com/images/icon/beartoday_topsites.gif";
	document.bn11.src = "http://www.beartoday.com/topsites/redirect.asp?act=in&siteid=43";
}

function getBanners2() 
{
	document.bn3.src = "http://www.hot50teddybears.com/image.php?id=albion";
	document.bn4.src = "http://www.hot50teddybears.com/in.php?id=albion";
}

function getBanners3() 
{
	document.bn2.src = "http://www.bears-direct.com/topsites/button.php?id=28";
}

function doFrame( bearName )
{
	if(!wantMessage)
	{
		document.write("<iframe src='http://www.smegsite.co.uk/albionbears/comp.asp?compbear="+ bearName + "' " +
					   "width=\"280\" height=\"500\" marginwidth=\"0\" marginheight=\"0\" name=\"entry\" " +
					   "scrolling=\"no\" style=\"padding: 0\" border=\"0\" frameborder=\"0\" align=\"top\" >" +
					   "</iframe>");
	}
	else
	{
		document.write("<iframe src='http://www.smegsite.co.uk/albionbears/comp.asp?message=1&compbear="+ bearName + "' " +
					   "width=\"280\" height=\"500\" marginwidth=\"0\" marginheight=\"0\" name=\"entry\" " +
					   "scrolling=\"no\" style=\"padding: 0\" border=\"0\" frameborder=\"0\" align=\"top\" >" +
					   "</iframe>");
	}	

}


function doGuest( bearName )
{
					document.write("<iframe src='http://www.smegsite.co.uk/albionbears/guest.asp?compbear="+ bearName + "' " +
								   "width=\"365\" height=\"25\" marginwidth=\"0\" marginheight=\"0\" name=\"entry\" " +
								   "scrolling=\"no\" style=\"padding: 0\" border=\"0\" frameborder=\"0\" align=\"top\" >" +
								   "</iframe>");

}

function doComments()
{
					document.write("<iframe src='http://www.smegsite.co.uk/albionbears/comments.asp' height='28' marginwidth='0' marginheight='0' name='I1' scrolling='no' border='0' frameborder='0' width='474' height='30' align='right'></iframe>");
}

function getBearNum()
{
//	document.location.href=site + "teddybear.htm";
	
	p = document.location.href.lastIndexOf("/")
	q = document.location.href.lastIndexOf(".")
	return parseInt(document.location.href.substring(p + 10,q),10) - 1;
}


function startLayer()
{
	document.write("<div id=\"ml\" align=\"center\" style=\"display:none; border-style:solid; border-width:1px; width: 600; height: 800; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px; \">");
}

function endLayer()
{
	document.write("</div>");
}

function startLayer2()
{
}

function endLayer2()
{
}



function installSearch() 
{
	document.sform.action = "http://search.msn.co.uk/results.aspx";
	document.msnlogo.src = "http://search.msn.co.uk/s/affillogo.gif";
	document.st.style.cursor = "hand";
}




