<SCRIPT LANGUAGE = "JavaScript">
<!--
/* NOTE! Any links you make in the pages smallpage.html etc.
make sure you add a "target='_top'" so that pages linked to
not trapped in the frame generated below.
*/
//This finds how wide the screen is - only for 4.0 browsers!!!
function whatsize() {
var width = screen.width;
//If the screen is 640 pixels wide show 'smallpage.html'
if (width == 640) {
document.write('<FRAMESET ROWS = "100%, *" FRAMEBORDER = NO BORDER = 0>');
document.write('<FRAME SRC = "
http://www.bangingtunes.com/cgi-local/shop.pl/page=shopmainsmframe.htm" SCROLLING = AUTO>');
document.write('</FRAMESET>');
}
//If the screen is 800 pixels wide show 'mediumpage.html'
else if (width == 800) {
document.write('<FRAMESET ROWS = "100%, *" FRAMEBORDER = NO BORDER = 0>');
document.write('<FRAME SRC = "
http://www.bangingtunes.com/cgi-local/shop.pl/page=shopmainsmframe.htm" SCROLLING = AUTO>');
document.write('</FRAMESET>');
}
//If the screen is anything else show 'bigpage.html'
else {
document.write('<FRAMESET ROWS = "100%, *" FRAMEBORDER = NO BORDER = 0>');
document.write('<FRAME SRC = "
http://www.bangingtunes.com/cgi-local/shop.pl/page=shopmainframe.htm" SCROLLING = AUTO>');
document.write('</FRAMESET>');
}
}
// This determines if the browser version 4 or not
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if (bName == "Netscape" && bVer >= 4) br = "n4";
else if (bName == "Netscape" && bVer == 3) br = "n3";
else if (bName == "Microsoft Internet Explorer" && bVer >= 4) br = "e4";
else if (bName == "Microsoft Internet Explorer") br = "e3";
else br = "n2";
// Frame for IE 4 or Netscape 4.0
if (br == "e4" |||| br == "n4") {
whatsize();
}
// Frame for browsers that are too old.
else {
document.write('<FRAMESET ROWS = "100%, *" FRAMEBORDER = NO BORDER = 0>');
document.write('<FRAME SRC = "too_old.html" SCROLLING = AUTO>');
document.write('</FRAMESET>');
}
// -->
</SCRIPT>