
/***********************************************
* Sliding Menu Bar Script- © Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
***********************************************/

var slidemenu_width='500px' //specify width of menu (in pixels)
var slidemenu_reveal='40px' //specify amount that menu should protrude initially
var slidemenu_top='110px'   //specify vertical offset of menu on page


var ns4=document.layers?1:0
var ie4=document.all
var ns6=document.getElementById&&!document.all?1:0

if (ie4||ns6)
document.write('<div id="slidemenubar2" style="left:'+((parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1)+'px; top:'+slidemenu_top+'; z-index:1; width:'+slidemenu_width+'" onMouseover="pull()" onMouseout="draw()">')
else if (ns4){
document.write('<style>\n#slidemenubar{\nwidth:'+slidemenu_width+';}\n<\/style>\n')
document.write('<layer id="slidemenubar" left=0 top='+slidemenu_top+' width='+slidemenu_width+' onMouseover="pull()" onMouseout="draw()" visibility=hide>')
}

var sitems=new Array()

///////////Edit below/////////////////////////////////

//siteitems[x]=["Item Text", "Optional URL associated with text"]

sitems[0]=["<img src='blog_head2.png'>", ""]
sitems[1]=["&nbsp;&nbsp;&nbsp;&nbsp;Planning a website for your business???",]
sitems[2]=["&nbsp;&nbsp;&nbsp;&nbsp;Wondering how and when launch a new website??", ]
sitems[3]=["&nbsp;&nbsp;&nbsp;&nbsp;What all you must know to have a good website??<br />", ]
sitems[4]=["&nbsp;&nbsp;&nbsp;&nbsp;If you are struggling with these types of question then Prasad solutions", ]
sitems[5]=["&nbsp;&nbsp;&nbsp;&nbsp;has solution for your problem. Go ahead and read our blogs where", ]
sitems[6]=["&nbsp;&nbsp;&nbsp;&nbsp;we describe the entire required thing to have a successful website. ", ]
sitems[7]=["&nbsp;&nbsp;&nbsp;&nbsp;",]
sitems[8]=["&nbsp;&nbsp;&nbsp;&nbsp;Visit<font color='#fff'> <a href='http://www.prasad-solutions.com/blog' style='color:#fff;' ><u>www.prasad-solutions.com/Blog </u> </a> </font>or<font color='#fff'><a href='http://www.prasad-solutions.com/blog' style='color:#fff;' ><u> Click Here </u></a>  </font> ", ]
sitems[9]=["", ]
sitems[10]=["&nbsp;&nbsp;&nbsp;&nbsp;Still have questions in your mind? Drop us an email at ", ]
sitems[11]=["&nbsp;&nbsp;&nbsp;&nbsp;<font color='#fff'> <a href='mailto:atul@prasad-solutions.com' style='color:#fff;' ><u>atul@prasad-solutions.com </u></a>  </font> and we will get back to you.",]

//If you want the links to load in another frame/window, specify name of target (ie: target="_new")
var target=""

/////////////////////////////////////////////////////////

if (ie4||ns4||ns6){
for (i=0;i<sitems.length;i++){
if (sitems[i][1])
document.write('<a href="'+sitems[i][1]+'" target="'+target+'">')
document.write(sitems[i][0])
if (sitems[i][1])
document.write('</a>')
document.write('<br>\n')
}
}

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (ns4){
document.slidemenubar.left=((parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1)
document.slidemenubar.visibility="show"
setTimeout("window.onresize=regenerate",400)
}
}

rightboundary=0
leftboundary=(parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1

if (ie4||ns6){
document.write('</div>')
themenu=(ns6)? document.getElementById("slidemenubar2").style : document.all.slidemenubar2.style
}
else if (ns4){
document.write('</layer>')
themenu=document.layers.slidemenubar
}

function pull(){
if (window.drawit)
clearInterval(drawit)
pullit=setInterval("pullengine()",10)
}
function draw(){
clearInterval(pullit)
drawit=setInterval("drawengine()",10)
}
function pullengine(){
if ((ie4||ns6)&&parseInt(themenu.left)<rightboundary)
themenu.left=parseInt(themenu.left)+10+"px"
else if(ns4&&themenu.left<rightboundary)
themenu.left+=10
else if (window.pullit){
themenu.left=0
clearInterval(pullit)
}
}

function drawengine(){
if ((ie4||ns6)&&parseInt(themenu.left)>leftboundary)
themenu.left=parseInt(themenu.left)-10+"px"
else if(ns4&&themenu.left>leftboundary)
themenu.left-=10
else if (window.drawit){
themenu.left=leftboundary
clearInterval(drawit)
}
}
