﻿    currcount = 1
    
     function changeblurb(xaxis, copy)
     {
     document.getElementById('iconblurbs').style.display = "block"
     document.getElementById('infobox').style.left = xaxis
     document.getElementById('infoboxarrow').style.left = xaxis + 14
     document.getElementById('infocopy').innerHTML = copy
     }
     function showtool(x)
     {
     if (x == "increment")
     {
     currcount += 1
     }
     else
     {
     currcount -= 1
     }
       
     if (currcount == 1)
     {
     document.getElementById('icongraphic').src = "../graphics/hl/manager_icon_lg.gif"
     document.getElementById('iconlink').href = "new2.asp"
     document.getElementById('prevsolid').style.display = "none"
     document.getElementById('prev').style.display = "block"
     document.getElementById('toolboxheader').innerHTML = "<a class='homeboxlinks' href='new2.asp'>MY MEDICAL MANAGER</a>"
     document.getElementById('toolboxcopy').innerHTML = "<a class='homeboxlinks' href='new2.asp'>Keep track of all your family’s medical history and health information. Medications. Blood type. Drug/Food allergies. Medical, surgical, immunizations and lots more.</a>"
     }
     else if (currcount == 2)
     {     
     document.getElementById('icongraphic').src = "../graphics/hl/meal_icon_lg.gif"
     document.getElementById('iconlink').href = "healthyeating.aspx"
     document.getElementById('prevsolid').style.display = "block"
      document.getElementById('prev').style.display = "none"
      document.getElementById('toolboxheader').innerHTML = "<a class='homeboxlinks' href='healthyeating.aspx'>MY HEALTHY LUNCH MANAGER</a>"
      document.getElementById('toolboxcopy').innerHTML = "<a class='homeboxlinks' href='healthyeating.aspx'>Don’t know how to eat healthy? This tool sends you healthy lunch recipes once a week, along with a grocery list to make shopping easy.</a>"
      
     }     
     //else if (currcount == 3)
     //{
     //document.getElementById('icongraphic').src = "../graphics/hl/manager_icon_lg.gif"
     //document.getElementById('iconlink').href = "new2.asp"
     //document.getElementById('toolboxheader').innerHTML = "<a class='homeboxlinks' href='new2.asp'>MY MEDICAL MANAGER</a>"
     //document.getElementById('toolboxcopy').innerHTML = "<a class='homeboxlinks' href='new2.asp'>Keep track of all your family’s medical history and health information. Medications. Blood type. Drug/Food allergies. Medical, surgical, immunizations and lots more.</a>"
     
     //document.getElementById('prevsolid').style.display = "block"
     //document.getElementById('nextsolid').style.display = "block"
     // document.getElementById('prev').style.display = "none"
     //  document.getElementById('next').style.display = "none"
     //}
     else if (currcount == 3)
     {
     document.getElementById('icongraphic').src = "../graphics/hl/screening_icon_lg.gif"
     document.getElementById('iconlink').href = "screenings.aspx"
     document.getElementById('toolboxheader').innerHTML = "<a class='homeboxlinks' href='screenings.aspx'>MY SCREENINGS MANAGER</a>"
     document.getElementById('toolboxcopy').innerHTML = "<a class='homeboxlinks' href='screenings.aspx'>Confused about which health screenings you and your family need and at what age? This easy to use tool will tell you.</a>"
     
     document.getElementById('prevsolid').style.display = "block"
     document.getElementById('nextsolid').style.display = "block"
      document.getElementById('prev').style.display = "none"
       document.getElementById('next').style.display = "none"
     
     }
     
     else if (currcount == 4)
     {
     document.getElementById('icongraphic').src = "../graphics/hl/reminder_icon_lg.gif"
     document.getElementById('iconlink').href = "desktop.aspx"
     document.getElementById('next').style.display = "block"
     document.getElementById('nextsolid').style.display = "none"
     document.getElementById('toolboxheader').innerHTML = "<a class='homeboxlinks' href='desktop.aspx'>MY OFFICE EXERCISE MANAGER</a>"
     document.getElementById('toolboxcopy').innerHTML = "<a class='homeboxlinks' href='desktop.aspx'>This handy desktop application delivers daily reminders for simple exercises you can do right at your desk.</a>"
     }
     
     }
function clearSearch()
{
if (document.getElementById('Header1_searchtxt').value == "Search")
    {
    document.getElementById('Header1_searchtxt').value = ""
    }
}

function showhideTools(x)
{
if (x == "show")
{
document.getElementById('toolsdrp').style.display = "block"
}
else
{
document.getElementById('toolsdrp').style.display = "none"
}
}

//window.onkeypress = DisableEnterKey;
//function DisableEnterKey(e) 
//{
// if (!e) 
//    var e = window.event;
//    
//    if (e.keyCode) 
//        code = e.keyCode;
//	
//	else if (e.which) 
//	    code = e.which;
//	
//	//alert(code);
//	if (code == 13)
//	{
//	return false;
//	}
//	else
//	{
//	return true;
//	}
//		
//}
function FontResize()
{
	// setDefaults arguments: size unit, default size, minimum, maximum
	// optional array of elements or selectors to apply these defaults to
	dw_fontSizerDX.setDefaults('px', 12, 8, 18, ['#hola'],'fontSize_bjc');
//	dw_fontSizerDX.setDefaults('px', 14, 10, 18, ['body', 'td', 'div', 'p', 'a', 'li', 'font', 'span'],'fontSize_bjc');
//	dw_fontSizerDX.setDefaults('px', 11, 7, 15, ['#content .CallOutBox TD','#content .CallOutBox P','#content .CallOutBox LI','#content .CallOutBoxTitle A','#content .Call-Out P','#content .Call-OutBoxTitle A'],'fontSize_bjc');
	//dw_fontSizerDX.set(14, 14, 14, ['div#sizer'] );
	dw_fontSizerDX.set(12, 10, 18, ['#contentshell .pagecopy', '#contentshell .pagecopy TD','#contentshell .pagecopy div']);
	//dw_fontSizerDX.set(16, 14, 28, ['h1']);
	dw_fontSizerDX.init();
	//setTextIcon();
}