$args=arg();
// supplier check - if we are looking at suppliers then
$supplier_mode=(strtolower($args[0])=='suppliers'?1:0);
$title=(strtolower($args[0])=='suppliers'?'Suppliers':'Imports');
// is this an alberta entry? if so set lq as a liquor connect variable used for hrefs later on
$lq=(strtolower($args[1])=='alberta'?1:0);
// are we displaying wines or spirits? if so we will want to change some output (not use the word 'wine')
$wine='';
$winery='';
if (count($args)>2) {
$wine=((strtolower($args[2])=='world wide (spirits)' || strtolower($args[2])=='spirits')?'spirit':'wine');
$winery=((strtolower($args[2])=='world wide (spirits)' || strtolower($args[2])=='spirits')?'supplier':'winery');
}
// how many matches did we get? 0 then we want to redirect up one level, 1 - then we want to redirect to the single child
$displayed_results=0;
$child_url='/';
$breadcrumb_itopia='
';
$count=sizeof($args);
while ($count--) {
$count2=0;
$bc_tmp='';
while ($count2<=$count) {
$bc_tmp = $bc_tmp . "/" . $args[$count2];
$count2++;
}
$breadcrumb_itopia = " > ".($count==1?'To ':($count==2?'From ':'')).$args[$count]."".$breadcrumb_itopia;
}
$breadcrumb_itopia = "Home".$breadcrumb_itopia
?>