function nullOptionsDMA(aMenu){

var tot=aMenu.options.length

for (i=0;i<tot;i++)

{

aMenu.options[i]=null

}

aMenu.options.length=0;

}

 

function MySubjectDMA0(aMenu){

nullOptionsDMA(aMenu)

 

with (aMenu){

 

//Rewrites the text and values

options[0]=new Option("Select Security Level","none");

options[1]=new Option("Level 1 General - Low","security_shredders.asp?id=1&amp;sec=Din-Level-1-shredders");

options[2]=new Option("Level 2 Internal - Low to Medium","security_shredders.asp?id=2&amp;sec=Din-Level-2-shredders");

options[3]=new Option("Level 3 Confidential - Medium","security_shredders.asp?id=3&amp;sec=Din-Level-3-shredders");

options[4]=new Option("Level 4 Secret - Medium to High","security_shredders.asp?id=4&amp;sec=Din-Level-4-shredders");

options[5]=new Option("Level 5 Top Secret - High","security_shredders.asp?id=5&amp;sec=Din-Level-5-shredders");

options[6]=new Option("Level 6 Maximum - Highest","security_shredders.asp?id=6&amp;sec=Din-Level-6-shredders");

options[0].selected=true

 

 

}

}

function MySubjectDMA1(aMenu){

nullOptionsDMA(aMenu)

 

with (aMenu){

 

//Rewrites the text and values

options[0]=new Option("Select Price Band","none");

options[1]=new Option("£0 - £25","price_shredders.asp?id=1&amp;sec=&#163;0-&#163;25-shredders");

options[2]=new Option("£25 - £50","price_shredders.asp?id=2&amp;sec=&#163;25-&#163;50-shredders");

options[3]=new Option("£50 - £100","price_shredders.asp?id=3&amp;sec=&#163;50-&#163;100-shredders");

options[4]=new Option("£100 - £200","price_shredders.asp?id=4&amp;sec=&#163;100-&#163;200-shredders");

options[5]=new Option("£200 - £300","price_shredders.asp?id=5&amp;sec=&#163;200-&#163;300-shredders");

options[6]=new Option("£300 - £400","price_shredders.asp?id=6&amp;sec=&#163;300-&#163;400-shredders");

options[7]=new Option("£400 - £500","price_shredders.asp?id=7&amp;sec=&#163;400-&#163;500-shredders");

options[8]=new Option("£500 - £750","price_shredders.asp?id=8&amp;sec=&#163;500-&#163;750-shredders");

options[9]=new Option("£750 - £1000","price_shredders.asp?id=9&amp;sec=&#163;750-&#163;1000-shredders");

options[10]=new Option("£1000 - £2000","price_shredders.asp?id=10&amp;sec=&#163;1000-&#163;2000-shredders");

options[11]=new Option("£2000 - £3000","price_shredders.asp?id=11&amp;sec=&#163;2000-&#163;3000-shredders");

options[12]=new Option("£3000 - £4000","price_shredders.asp?id=12&amp;sec=&#163;3000-&#163;4000-shredders");

options[13]=new Option("£4000 - £10000","price_shredders.asp?id=13&amp;sec=&#163;4000-&#163;10000-shredders");

options[0].selected=true

 

 

}

}

function MySubjectDMA2(aMenu){

nullOptionsDMA(aMenu)

 

with (aMenu){

 

//Rewrites the text and values

options[0]=new Option("Select Shredder Capacity","none");

options[1]=new Option("1-5 Sheets","capacity_shredders.asp?id=1&amp;sec=1-to-5-sheet-shredders");

options[2]=new Option("6-10 Sheets","capacity_shredders.asp?id=2&amp;sec=6-to-10-sheet-shredders");

options[3]=new Option("11-15 Sheets","capacity_shredders.asp?id=3&amp;sec=11-to-15-sheet-shredders");

options[4]=new Option("16-20 Sheets","capacity_shredders.asp?id=4&amp;sec=16-to-20-sheet-shredders");

options[5]=new Option("21-25 Sheets","capacity_shredders.asp?id=5&amp;sec=21-to-25-sheet-shredders");

options[6]=new Option("26-30 Sheets","capacity_shredders.asp?id=6&amp;sec=26-to-30-sheet-shredders");

options[7]=new Option("31-40 Sheets","capacity_shredders.asp?id=7&amp;sec=31-to-40-sheet-shredders");

options[8]=new Option("41-50 Sheets","capacity_shredders.asp?id=8&amp;sec=41-to-50-sheet-shredders");

options[9]=new Option("51+ Sheets","capacity_shredders.asp?id=9&amp;sec=51-to-100-sheet-shredders");

options[0].selected=true

}

}

function MySubjectDMA3(aMenu){

nullOptionsDMA(aMenu)

 

with (aMenu){

 

//Rewrites the text and values

options[0]=new Option("Select Material to Shred","none");

options[1]=new Option("Cardboard","cardboard_shredders.asp?cat=Cardboard-shredders");

options[2]=new Option("CD/DVDs","cd_shredders.asp?cat=CD/DVD-shredders");

options[3]=new Option("Credit Cards","credit_card_shredders.asp?cat=Credit-Card-shredders");

options[4]=new Option("Floppy Disks","floppy_disk_shredders.asp?cat=Floppy-Disk-shredders");

options[5]=new Option("Tyres","tyre_shredders.asp?cat=Tyre-shredders");

options[0].selected=true

 

 

}

}


function MySubjectDMA4(aMenu){

nullOptionsDMA(aMenu)

 

with (aMenu){

 

//Rewrites the text and values

options[0]=new Option("Select Shred Type","none");

options[1]=new Option("Cross Cut","cross-cut-shredders.asp?cat=Cross-Cut-shredders");

options[2]=new Option("Strip Cut","strip-cut-shredders.asp?cat=Strip-Cut-shredders");

options[3]=new Option("Crypto Cut","crypto-cut-shredders.asp?cat=Crypto-Cut-shredders");

options[0].selected=true

 

 

}

}

/* ####################### goDM() ####################### */

 

function goDMA(aMenu){

if (aMenu.options.value!="none")

{

location=aMenu.options[aMenu.selectedIndex].value

} 

 

}

 

/* ####################### setUp ####################### */

 

function setUpDMA(){

with (document.getElementById("formDoubleMenuDMA")) {

if (menuSubjectsDMA.selectedIndex==0){

menuSubjectsDMA.options[0].selected=true

menuFilesDMA.options[0].selected=true

}

 

if (menuSubjectsDMA.selectedIndex==1)

MySubjectDMA0(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==2)

MySubjectDMA1(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==3)

MySubjectDMA2(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==4)

MySubjectDMA3(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==5)

MySubjectDMA4(menuFilesDMA)

 

}

}

 

/* ####################### changeFiles ####################### */

 

function changeFilesDMA(){

aMenu=document.getElementById("formDoubleMenuDMA").menuSubjectsDMA

aMenu2=document.getElementById("formDoubleMenuDMA").menuFilesDMA

with (aMenu){

 

switch (selectedIndex) {

case 0:

aMenu2.options.length=0;

aMenu2.options[0]=

new Option("Pages appear here","none")

aMenu2.options[0].selected=true;

history.go(0)

break 

case 1: 

MySubjectDMA0(aMenu2) 

aMenu2.options[0].text="Select Security Level"

break 

case 2: 

MySubjectDMA1(aMenu2) 

aMenu2.options[0].text="Select Price Band"

break 

case 3: 

MySubjectDMA2(aMenu2) 

aMenu2.options[0].text="Select Shredder Capacity"

break 

case 4: 

MySubjectDMA3(aMenu2) 

aMenu2.options[0].text="Select Material to Shred"

break 
	   
case 5: 

MySubjectDMA4(aMenu2) 

aMenu2.options[0].text="Select Shred Type"

break 
 

}

}

 

}



