
				function OnLoadScripts()
				{
					try
					{
						var divsize, div1, div2, divsize2, div12, div22;
						div1 = document.getElementById("scrollbox1").clientHeight;
						div2 = document.getElementById("parent1").clientHeight;
						theDiv2 = document.getElementById("parent1");
						td1 = document.getElementById("tdScrollBox1");
						div12 = document.getElementById("scrollbox2").clientHeight;
						div22 = document.getElementById("parent2").clientHeight;
						theDiv22 = document.getElementById("parent2");
						td12 = document.getElementById("tdScrollBox2");
						//var ScrollDiv = document.getElementById("scroll_arrows");
						//var ScrollDivOff = document.getElementById("scroll_arrows_blank");
						
						divsize = parseInt(div2) - parseInt(div1);
						divsize = parseInt(divsize);
						divsize2 = parseInt(div22) - parseInt(div12);
						divsize2 = parseInt(divsize2);
						
						theDiv2.style.height = td1.clientHeight-4;
						theDiv22.style.height = td12.clientHeight-4;
		
						/*if (div1 < parseInt(theDiv2.style.height) - 12)  // If the content is smaller than the td...
						{
							ScrollDiv.style.display = "none";
							ScrollDivOff.style.display = "inline";
						}
						else
						{
							ScrollDiv.style.display = "inline";
							ScrollDivOff.style.display = "none";
						}*/
						
						document.getElementById("parent1").style.width = parseFloat(td1.clientWidth);
						document.getElementById("scrollbox1").style.width = parseFloat(td1.clientWidth) - 16;
						document.getElementById("parent2").style.width = parseFloat(td12.clientWidth);
						document.getElementById("scrollbox2").style.width = parseFloat(td12.clientWidth) - 16;
					}
					catch(e){}
				}
				
				var mousePress = "up";
		
				function reset_mousePress() {
					mousePress = "up";
				}
				
				function clickDivDown(boxNum) {
					mousePress = "down";
					moveDivDown(boxNum);
				}
				
				function clickDivUp(boxNum) {
					mousePress = "down";
					moveDivUp(boxNum);
				}	
				
				function scrollToAnchor(name) {
					var AnchorPos;
					AnchorPos = document.getElementById(name).offsetTop;
					//alert(AnchorPos);
					document.getElementById("scrollbox").style.top = "-" + AnchorPos + "px";
					document.getElementById("ScrollImageUp").src = 'files/scroll_buttons_explore_up.gif';
				}
				
				function moveDivDown(boxNum) {
					var pos, posLength, pagePos;
					var scrollboxHeight, parentHeight;
					
					scrollboxHeight = document.getElementById("scrollbox"+boxNum).clientHeight;
					parentHeight = document.getElementById("parent"+boxNum).clientHeight;
					//alert(parentHeight);
					pos = document.getElementById("scrollbox"+boxNum).style.top;
					posLength = pos.length;
					pos = pos.substring(0, posLength - 2);
					
					pagePos = parseInt(scrollboxHeight) - parseInt(parentHeight) + parseInt(pos);
			
					if (pagePos > 0)
					{
						pos = pos - 10; // Scroll amount
						document.getElementById("scrollbox"+boxNum).style.top = pos + "px";
						if (mousePress == "down")
						{
							setTimeout('moveDivDown('+boxNum+')', 50); // Speed
						}
						//document.getElementById("ScrollImageUp").src = 'files/scroll_buttons_explore_up.gif';
					}
					else
					{
						mousePress = "up";
						//document.getElementById("ScrollImageDown").src = 'files/scroll_buttons_light_dn.gif';
					}
				}
				
				function moveDivUp(boxNum)
				{
					var pos, posLength, pagePos;
					var scrollboxHeight, parentHeight;
			
					scrollboxHeight = document.getElementById("scrollbox"+boxNum).clientHeight;
					parentHeight = document.getElementById("parent"+boxNum).clientHeight;
					
					pos = document.getElementById("scrollbox"+boxNum).style.top;
					//posLength = pos.length;
					pos = pos.substring(0, pos.length - 2);
					
					pagePos = parseInt(pos);
					
					//alert("movedivup()    " + pos);
			
					if (pagePos < 0)
					{
						pos = parseInt(pos) + 10; // Scroll amount
						document.getElementById("scrollbox"+boxNum).style.top = pos + "px";
						if (mousePress == "down")
						{
							setTimeout('moveDivUp('+boxNum+')', 50); // Speed
						}
						//document.getElementById("ScrollImageDown").src = 'files/scroll_buttons_explore_dn.gif';
					}
					else
					{
						mousePress = "up";
						//document.getElementById("ScrollImageUp").src = 'files/scroll_buttons_light_up.gif';
					}
				}
				
				function printMe(divId) {
					try
					{
						w=window.open('','newwin','toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=no,status=no,width=640,height=440');
						w.document.write('<html><head><title>Voq - professional phone<\/title><link href="/site/popstyles.voq" rel="stylesheet" type="text/css" \/><script language="JavaScript" type="text/javascript">function scrollToAnchor(name){}<\/script><\/head><body ><span style="font-family:verdana;font-size:12px;">' + document.getElementById(divId).innerHTML.replace("href=","name=") + '<\/span><\/body><\/html>');
						w.print();
						w.document.close();
						return false;
					}
					catch(e){}
				}
		
