// products

function setProduct(x) {
z = '/products/product.html?/data/public/mesonet/models/realtime/firedanger/';

if ( x == '') {x = '/products/product.html?/data/public/mesonet/maps/realtime/current.agwx.gif'; panel = '1'}
if ( x == 'ffg') {x = '/data/public/mesonet/maps/realtime/mesovsffg/flood.html'; panel = '1'}

else if (x == 'fire') {x = '/products/ext-product.html?http://agweather.mesonet.org/models/fire/default.html'; panel = '2'}
else if (x == 'current.agwx') {x = '/products/product.html?/data/public/mesonet/maps/realtime/current.agwx.gif'; panel = '2'}
else if (x == 'latest.bi.fire') {x = z + x + '.gif'; panel = '2'}
else if (x == 'latest.ic.fire') {x = z + x + '.gif'; panel = '2'}
else if (x == 'latest.er.fire') {x = z + x + '.gif'; panel = '2'}
else if (x == 'latest.sc.fire') {x = z + x + '.gif'; panel = '2'}
else if (x == 'latest.fm.fire') {x = z + x + '.gif'; panel = '2'}
else if (x == 'latest.kd.fire') {x = z + x + '.gif'; panel = '2'}
else if (x == 'latest.rg.fire') {x = z + x + '.gif'; panel = '2'}
else if (x == 'latest.vg.fire') {x = z + x + '.gif'; panel = '2'}

else if (x == 'dispersion') {x = '/products/ext-product.html?http://agweather.mesonet.org/models/dispersion/'; panel = '3'}
else if (x == 'current.disp') {x = '/products/product.html?/data/public/mesonet/models/realtime/dispersion/current.disp.gif'; panel = '3'}
else if (x == 'site.specific') {x = '/products/ext-product.html?http://agweather.mesonet.org/models/dispersion/specificmeso.html'; panel = '3'}
else if (x == 'current.inv') {x = '/products/product.html?/data/public/mesonet/maps/realtime/current.inv.gif'; panel = '3'}
else if (x == 'current.ws2m') {x = '/products/product.html?/data/public/mesonet/maps/realtime/current.ws2m.gif'; panel = '3'}
else if (x == 'sixhour') {x = '/products/ext-product.html?http://agweather.mesonet.org/current-recent-weather/6hrarchive.html'; panel = '3'}

else if (x == 'mos') {x = '/products/ext-product.html?http://agweather.mesonet.org/models/dispersion/textoutput.html'; panel = '4'}
else if (x == 'mos.map') {x = '/products/ext-product.html?http://agweather.mesonet.org/models/dispersion/mapoutput.php'; panel = '4'}

return x;

}

function goProduct(x) {
x = setProduct(x);
top.product.location.href = x;
}
