//EMAIL THIS PAGE

function mail()

{

mail_str="mailto:?subject=Callidus Systems"

mail_str= mail_str + "&body=I thought you might find this information interesting. " 

mail_str=mail_str + "Check it out at, " + location.href 

location.href=mail_str

}



defaultStatus = ":: Callidus Systems - Interconnect technologies made easy";



var NoOffFirstLineMenus = 5;			// Number of first level items

var LowBgColor = 'white';			// Background color when mouse is not over

var LowSubBgColor = 'white';			// Background color when mouse is not over on subs

var HighBgColor = 'white';			// Background color when mouse is over

var HighSubBgColor = 'E8E8E8';			// Background color when mouse is over on subs

var FontLowColor = 'black';			// Font color when mouse is not over

var FontSubLowColor = 'black';			// Font color subs when mouse is not over

var FontHighColor = 'black';			// Font color when mouse is over

var FontSubHighColor = 'black';			// Font color subs when mouse is over

var BorderColor = '';			// Border color

var BorderSubColor = 'black';			// Border color for subs

var BorderWidth = 1;				// Border width

var BorderBtwnElmnts = 0;			// Border between elements 1 or 0

var SubMenuPadding = 2;

var SubMenuBorder = 1;

var SubMenuBorderColor = 'black';

var UseHrSpacer = true;

var FontFamily = "verdana"	// Font family menu items

var FontSize = 8;				// Font size menu items

var FontBold = 0;				// Bold menu items 1 or 0

var FontItalic = 0;				// Italic menu items 1 or 0

var MenuTextCentered = 'left';			// Item text position 'left', 'center' or 'right'

var MenuCentered = 'left';			// Menu horizontal position 'left', 'center' or 'right'

var MenuVerticalCentered = 'top';		// Menu vertical position 'top', 'middle','bottom' or static

var ChildOverlap = .2;				// horizontal overlap child/ parent

var ChildVerticalOverlap = .2;			// vertical overlap child/ parent

var StartTop = 95;				// Menu offset x coordinate

var StartLeft = menuTop+160;				// Menu offset y coordinate
var VerCorrect = 0;				// Multiple frames y correction

var HorCorrect = 0;				// Multiple frames x correction

var LeftPaddng = 3;				// Left padding

var TopPaddng = 4;				// Top padding

var FirstLineHorizontal = 1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL

var MenuFramesVertical = 1;			// Frames in cols or rows 1 or 0

var DissapearDelay = 100;			// delay before menu folds in

var TakeOverBgColor = 1;			// Menu frame takes over background color subitem frame

var FirstLineFrame = '';			// Frame where first level appears

var SecLineFrame = '';			// Frame where sub levels appear

var DocTargetFrame = '';			// Frame where target documents appear

var TargetLoc = '';				// span id for relative positioning

var HideTop = 1;				// Hide first level when loading new document 1 or 0

var MenuWrap = 0;				// enables/ disables menu wrap 1 or 0

var RightToLeft = 0;				// enables/ disables right to left unfold 1 or 0

var UnfoldsOnClick = 0;			// Level 1 unfolds onclick/ onmouseover

var WebMasterCheck = 0;			// menu tree checking on or off 1 or 0

var ShowArrow = 0;				// Uses arrow gifs when 1

var KeepHilite = 1;				// Keep selected path highligthed

var Arrws = ['./img/dot.gif', 1, 1, './img/dot.gif', 1, 1, './img/dot.gif', 1, 1];	// Arrow source, width and height



function BeforeStart(){return}

function AfterBuild(){return}

function BeforeFirstOpen(){return}

function AfterCloseAll(){return}



Menu1 = new Array("rollover:images/company.jpg:images/company.jpg", "", "", 3, 15, 100, "Window Status 1");

Menu1_1 = new Array("about us", "about.html", "", 0, 18, 100, "about us");

Menu1_2 = new Array("contact information", "contact.html", "", 0, 18, 100, "Contact Information");

Menu1_3 = new Array("careers", "careers.html", "", 0, 18, 100, "Careers");



Menu2 = new Array("rollover:images/products.jpg:images/products.jpg", "products.html", "", 0, 25, 100, "Window Status 2");



Menu3 = new Array("rollover:images/consulting.jpg:images/consulting.jpg", "consulting.html", "", 0, 25, 120, "Window Status 3");



Menu4 = new Array("rollover:images/news.jpg:images/news.jpg", "news.html", "", 0, 25, 100, "Window Status 4");



Menu5 = new Array("rollover:images/partners.jpg:images/partners.jpg", "partners.html", "", 0, 25, 100, "Window Status 5");



var scrollerwidth=150

var scrollerheight=85

var scrollerbgcolor='000000'

var scrollerbackground='E8E8E8'

var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1

var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1



function move1(whichlayer)

{

  tlayer=eval(whichlayer)

  if (tlayer.top>0&&tlayer.top<=5)

  {

    tlayer.top=0

    setTimeout("move1(tlayer)",3000)

    setTimeout("move2(document.main.document.second)",3000)

    return

  }

  if (tlayer.top>=tlayer.document.height*-1)

  {

    tlayer.top-=5

    setTimeout("move1(tlayer)",50)

  }

  else

  {

    tlayer.top=scrollerheight

    tlayer.document.write(messages[i])

    tlayer.document.close()

    if (i==messages.length-1) i=0

    else i++

  }

}



function move2(whichlayer)

{

  tlayer2=eval(whichlayer)

  if (tlayer2.top>0&&tlayer2.top<=5)

  {

    tlayer2.top=0

    setTimeout("move2(tlayer2)",3000)

    setTimeout("move1(document.main.document.first)",3000)

    return

  }

  if (tlayer2.top>=tlayer2.document.height*-1)

  {

    tlayer2.top-=5

    setTimeout("move2(tlayer2)",50)

  }

  else

  {

    tlayer2.top=scrollerheight

    tlayer2.document.write(messages[i])

    tlayer2.document.close()

    if (i==messages.length-1) i=0

    else i++

  }

}



function move3(whichdiv)

{

  tdiv=eval(whichdiv)

  if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5)

  {

    tdiv.style.top=0

    setTimeout("move3(tdiv)",3000)

    setTimeout("move4(second2_obj)",3000)

    return

  }

  if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1)

  {

    tdiv.style.top=parseInt(tdiv.style.top)-5

    setTimeout("move3(tdiv)",50)

  }

  else

  {

    tdiv.style.top=scrollerheight

    tdiv.innerHTML=messages[i]

    if (i==messages.length-1) i=0

    else i++

  }

}



function move4(whichdiv)

{

  tdiv2=eval(whichdiv)

  if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5)

  {

    tdiv2.style.top=0

    setTimeout("move4(tdiv2)",3000)

    setTimeout("move3(first2_obj)",3000)

    return

  }

  if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1)

  {

    tdiv2.style.top=parseInt(tdiv2.style.top)-5

  setTimeout("move4(second2_obj)",50)

  }

  else

  {

    tdiv2.style.top=scrollerheight

    tdiv2.innerHTML=messages[i]

    if (i==messages.length-1) i=0

    else i++

  }

}



function startscroll()

{

  if (ie||dom)

  {

    first2_obj=ie? first2 : document.getElementById("first2")

    second2_obj=ie? second2 : document.getElementById("second2")

    move3(first2_obj)

    second2_obj.style.top=scrollerheight

    second2_obj.style.visibility='visible'

  }

  else if (document.layers)

  {

    document.main.visibility='show'

    move1(document.main.document.first)

    document.main.document.second.top=scrollerheight+5

    document.main.document.second.visibility='show'

  }

}



function initialize()

{

  if (useScroller)

    startscroll();

}



function changeStatus(status)

{

  window.status = status;

  return true;

}



window.onload = initialize;
