﻿// JScript File
function DWWalkedOn()
{
//alert("in func");
    if( document.getElementById("radDWWalkedon1").checked==true)
    {        
         document.getElementById("DWWalkedOn1").style.backgroundColor="#F7DEF3";
         document.getElementById("DWWalkedOn2").style.backgroundColor="#FCF3FA";
         document.getElementById("DWWalkedOn3").style.backgroundColor="#FCF3FA";
         document.getElementById("DWWalkedOn4").style.backgroundColor="#FCF3FA";
         
    }
    if( document.getElementById("radDWWalkedon2").checked==true)
    {
         document.getElementById("DWWalkedOn1").style.backgroundColor="#FCF3FA";
         document.getElementById("DWWalkedOn2").style.backgroundColor="#F7DEF3";
         document.getElementById("DWWalkedOn3").style.backgroundColor="#FCF3FA";
         document.getElementById("DWWalkedOn4").style.backgroundColor="#FCF3FA";
         
    }
    if( document.getElementById("radDWWalkedon3").checked==true)
    {
         document.getElementById("DWWalkedOn1").style.backgroundColor="#FCF3FA";
         document.getElementById("DWWalkedOn2").style.backgroundColor="#FCF3FA";
         document.getElementById("DWWalkedOn3").style.backgroundColor="#F7DEF3";
         document.getElementById("DWWalkedOn4").style.backgroundColor="#FCF3FA";
         
    }
    if( document.getElementById("radDWWalkedon4").checked==true)
    {
         document.getElementById("DWWalkedOn1").style.backgroundColor="#FCF3FA";
         document.getElementById("DWWalkedOn2").style.backgroundColor="#FCF3FA";
         document.getElementById("DWWalkedOn3").style.backgroundColor="#FCF3FA";
         document.getElementById("DWWalkedOn4").style.backgroundColor="#F7DEF3";
         
    }
}



function DWAge()
{
//alert("in func");
    if( document.getElementById("radDWAge1").checked==true)
    {
         document.getElementById("DWAge1").style.backgroundColor="#F7DEF3";
         document.getElementById("DWAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("DWAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("DWAge4").style.backgroundColor="#FCF3FA";
         
    }
    if( document.getElementById("radDWAge2").checked==true)
    {
         document.getElementById("DWAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("DWAge2").style.backgroundColor="#F7DEF3";
         document.getElementById("DWAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("DWAge4").style.backgroundColor="#FCF3FA";
         
    }
    if( document.getElementById("radDWAge3").checked==true)
    {
         document.getElementById("DWAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("DWAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("DWAge3").style.backgroundColor="#F7DEF3";
         document.getElementById("DWAge4").style.backgroundColor="#FCF3FA";
         
    }
    if( document.getElementById("radDWAge4").checked==true)
    {
         document.getElementById("DWAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("DWAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("DWAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("DWAge4").style.backgroundColor="#F7DEF3";
         
    }
}

function DWSize()
{
    if( document.getElementById("radDWSize1").checked==true)
    {
         document.getElementById("DWSize1").style.backgroundColor="#F7DEF3";
         document.getElementById("DWSize2").style.backgroundColor="#FCF3FA";
         document.getElementById("DWSize3").style.backgroundColor="#FCF3FA";
         
         
    }
    if( document.getElementById("radDWSize2").checked==true)
    {
         document.getElementById("DWSize1").style.backgroundColor="#FCF3FA";
         document.getElementById("DWSize2").style.backgroundColor="#F7DEF3";
         document.getElementById("DWSize3").style.backgroundColor="#FCF3FA";
         
         
    }
    if( document.getElementById("radDWSize3").checked==true)
    {
         document.getElementById("DWSize1").style.backgroundColor="#FCF3FA";
         document.getElementById("DWSize2").style.backgroundColor="#FCF3FA";
         document.getElementById("DWSize3").style.backgroundColor="#F7DEF3";
    }
}

function PSNo()
{
    if( document.getElementById("radPSNo1").checked==true)
    {
         document.getElementById("PSNo1").style.backgroundColor="#F7DEF3";
         document.getElementById("PSNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PSNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PSNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPSNo2").checked==true)
    {
         document.getElementById("PSNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PSNo2").style.backgroundColor="#F7DEF3";
         document.getElementById("PSNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PSNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPSNo3").checked==true)
    {
         document.getElementById("PSNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PSNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PSNo3").style.backgroundColor="#F7DEF3";
         document.getElementById("PSNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPSNo4").checked==true)
    {
         document.getElementById("PSNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PSNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PSNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PSNo4").style.backgroundColor="#F7DEF3";
    }
}

function PSType()
{
    if( document.getElementById("radPSType1").checked==true)
    {
         document.getElementById("PSType1").style.backgroundColor="#F7DEF3";
         document.getElementById("PSType2").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPSType2").checked==true)
    {
         document.getElementById("PSType1").style.backgroundColor="#FCF3FA";
         document.getElementById("PSType2").style.backgroundColor="#F7DEF3";
    }
}
function PSSize()
{
    if( document.getElementById("radPSSize1").checked==true)
    {
         document.getElementById("PSSize1").style.backgroundColor="#F7DEF3";
         document.getElementById("PSSize2").style.backgroundColor="#FCF3FA";
         document.getElementById("PSSize3").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPSSize2").checked==true)
    {
         document.getElementById("PSSize1").style.backgroundColor="#FCF3FA";
         document.getElementById("PSSize2").style.backgroundColor="#F7DEF3";
         document.getElementById("PSSize3").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPSSize3").checked==true)
    {
         document.getElementById("PSSize1").style.backgroundColor="#FCF3FA";
         document.getElementById("PSSize2").style.backgroundColor="#FCF3FA";
         document.getElementById("PSSize3").style.backgroundColor="#F7DEF3";
    }
}

function PSAge()
{
    if( document.getElementById("radPSAge1").checked==true)
    {
         document.getElementById("PSAge1").style.backgroundColor="#F7DEF3";
         document.getElementById("PSAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("PSAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("PSAge4").style.backgroundColor="#FCF3FA";
         
    }
    if( document.getElementById("radPSAge2").checked==true)
    {
         document.getElementById("PSAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("PSAge2").style.backgroundColor="#F7DEF3";
         document.getElementById("PSAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("PSAge4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPSAge3").checked==true)
    {
         document.getElementById("PSAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("PSAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("PSAge3").style.backgroundColor="#F7DEF3";
         document.getElementById("PSAge4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPSAge4").checked==true)
    {
         document.getElementById("PSAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("PSAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("PSAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("PSAge4").style.backgroundColor="#F7DEF3";
    }
}



function PGNo()
{
    if( document.getElementById("radPGNo1").checked==true)
    {
         document.getElementById("PGNo1").style.backgroundColor="#F7DEF3";
         document.getElementById("PGNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PGNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PGNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPGNo2").checked==true)
    {
         document.getElementById("PGNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PGNo2").style.backgroundColor="#F7DEF3";
         document.getElementById("PGNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PGNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPGNo3").checked==true)
    {
         document.getElementById("PGNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PGNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PGNo3").style.backgroundColor="#F7DEF3";
         document.getElementById("PGNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPGNo4").checked==true)
    {
         document.getElementById("PGNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PGNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PGNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PGNo4").style.backgroundColor="#F7DEF3";
    }
}


function PGType()
{
    if( document.getElementById("radPGType1").checked==true)
    {
         document.getElementById("PGType1").style.backgroundColor="#F7DEF3";
         document.getElementById("PGType2").style.backgroundColor="#FCF3FA";
         
         
         
    }
    if( document.getElementById("radPGType2").checked==true)
    {
         document.getElementById("PGType1").style.backgroundColor="#FCF3FA";
         document.getElementById("PGType2").style.backgroundColor="#F7DEF3";
         
         
    }
    
}

function PGAge()
{
    if( document.getElementById("radPGAge1").checked==true)
    {
         document.getElementById("PGAge1").style.backgroundColor="#F7DEF3";
         document.getElementById("PGAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("PGAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("PGAge4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPGAge2").checked==true)
    {
         document.getElementById("PGAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("PGAge2").style.backgroundColor="#F7DEF3";
         document.getElementById("PGAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("PGAge4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPGAge3").checked==true)
    {
         document.getElementById("PGAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("PGAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("PGAge3").style.backgroundColor="#F7DEF3";
         document.getElementById("PGAge4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPGAge4").checked==true)
    {
         document.getElementById("PGAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("PGAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("PGAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("PGAge4").style.backgroundColor="#F7DEF3";
    }
}

function PGSize()
{
    if( document.getElementById("radPGSize1").checked==true)
    {
         document.getElementById("PGSize1").style.backgroundColor="#F7DEF3";
         document.getElementById("PGSize2").style.backgroundColor="#FCF3FA";
         document.getElementById("PGSize3").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPGSize2").checked==true)
    {
         document.getElementById("PGSize1").style.backgroundColor="#FCF3FA";
         document.getElementById("PGSize2").style.backgroundColor="#F7DEF3";
         document.getElementById("PGSize3").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPGSize3").checked==true)
    {
         document.getElementById("PGSize1").style.backgroundColor="#FCF3FA";
         document.getElementById("PGSize2").style.backgroundColor="#FCF3FA";
         document.getElementById("PGSize3").style.backgroundColor="#F7DEF3";
    }
}

function PBSize()
{
    if( document.getElementById("radPBSize1").checked==true)
    {
         document.getElementById("PBSize1").style.backgroundColor="#F7DEF3";
         document.getElementById("PBSize2").style.backgroundColor="#FCF3FA";
         document.getElementById("PBSize3").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPBSize2").checked==true)
    {
         document.getElementById("PBSize1").style.backgroundColor="#FCF3FA";
         document.getElementById("PBSize2").style.backgroundColor="#F7DEF3";
         document.getElementById("PBSize3").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPBSize3").checked==true)
    {
         document.getElementById("PBSize1").style.backgroundColor="#FCF3FA";
         document.getElementById("PBSize2").style.backgroundColor="#FCF3FA";
         document.getElementById("PBSize3").style.backgroundColor="#F7DEF3";
    }
}

function PBType()
{
    if( document.getElementById("radPBType1").checked==true)
    {
         document.getElementById("PBType1").style.backgroundColor="#F7DEF3";
         document.getElementById("PBType2").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPBType2").checked==true)
    {
         document.getElementById("PBType1").style.backgroundColor="#FCF3FA";
         document.getElementById("PBType2").style.backgroundColor="#F7DEF3";
    }
}


function PBAge()
{
    if( document.getElementById("radPBAge1").checked==true)
    {
         document.getElementById("PBAge1").style.backgroundColor="#F7DEF3";
         document.getElementById("PBAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("PBAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("PBAge4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPBAge2").checked==true)
    {
         document.getElementById("PBAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("PBAge2").style.backgroundColor="#F7DEF3";
         document.getElementById("PBAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("PBAge4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPBAge3").checked==true)
    {
         document.getElementById("PBAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("PBAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("PBAge3").style.backgroundColor="#F7DEF3";
         document.getElementById("PBAge4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPBAge4").checked==true)
    {
         document.getElementById("PBAge1").style.backgroundColor="#FCF3FA";
         document.getElementById("PBAge2").style.backgroundColor="#FCF3FA";
         document.getElementById("PBAge3").style.backgroundColor="#FCF3FA";
         document.getElementById("PBAge4").style.backgroundColor="#F7DEF3";
    }
}

function PBNo()
{
    if( document.getElementById("radPBNo1").checked==true)
    {
         document.getElementById("PBNo1").style.backgroundColor="#F7DEF3";
         document.getElementById("PBNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PBNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PBNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPBNo2").checked==true)
    {
         document.getElementById("PBNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PBNo2").style.backgroundColor="#F7DEF3";
         document.getElementById("PBNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PBNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPBNo3").checked==true)
    {
         document.getElementById("PBNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PBNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PBNo3").style.backgroundColor="#F7DEF3";
         document.getElementById("PBNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPBNo4").checked==true)
    {
         document.getElementById("PBNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PBNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PBNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PBNo4").style.backgroundColor="#F7DEF3";
    }
}





function PMType()
{
    if( document.getElementById("radPMType1").checked==true)
    {
         document.getElementById("PMType1").style.backgroundColor="#F7DEF3";
         document.getElementById("PMType2").style.backgroundColor="#FCF3FA";
         document.getElementById("PMType3").style.backgroundColor="#FCF3FA";
         document.getElementById("PMType4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPMType2").checked==true)
    {
         document.getElementById("PMType1").style.backgroundColor="#FCF3FA";
         document.getElementById("PMType2").style.backgroundColor="#F7DEF3";
         document.getElementById("PMType3").style.backgroundColor="#FCF3FA";
         document.getElementById("PMType4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPMType3").checked==true)
    {
         document.getElementById("PMType1").style.backgroundColor="#FCF3FA";
         document.getElementById("PMType2").style.backgroundColor="#FCF3FA";
         document.getElementById("PMType3").style.backgroundColor="#F7DEF3";
         document.getElementById("PMType4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPMType4").checked==true)
    {
         document.getElementById("PMType1").style.backgroundColor="#FCF3FA";
         document.getElementById("PMType2").style.backgroundColor="#FCF3FA";
         document.getElementById("PMType3").style.backgroundColor="#FCF3FA";
         document.getElementById("PMType4").style.backgroundColor="#F7DEF3";
    }
}
function PMNo()
{
//alert("in func");
    if( document.getElementById("radPMNo1").checked==true)
    {
         document.getElementById("PMNo1").style.backgroundColor="#F7DEF3";
         document.getElementById("PMNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PMNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PMNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPMNo2").checked==true)
    {
         document.getElementById("PMNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PMNo2").style.backgroundColor="#F7DEF3";
         document.getElementById("PMNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PMNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPMNo3").checked==true)
    {
         document.getElementById("PMNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PMNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PMNo3").style.backgroundColor="#F7DEF3";
         document.getElementById("PMNo4").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPMNo4").checked==true)
    {
         document.getElementById("PMNo1").style.backgroundColor="#FCF3FA";
         document.getElementById("PMNo2").style.backgroundColor="#FCF3FA";
         document.getElementById("PMNo3").style.backgroundColor="#FCF3FA";
         document.getElementById("PMNo4").style.backgroundColor="#F7DEF3";
    }
}
function PMGoing()
{
   if( document.getElementById("radPMGoing1").checked==true)
    {
         document.getElementById("PMGoing1").style.backgroundColor="#F7DEF3";
         document.getElementById("PMGoing2").style.backgroundColor="#FCF3FA";
    }
    if( document.getElementById("radPMGoing2").checked==true)
    {
         document.getElementById("PMGoing1").style.backgroundColor="#FCF3FA";
         document.getElementById("PMGoing2").style.backgroundColor="#F7DEF3";
    }
}
