function header(path)
{
	if (path==null)
	{
		path="./";
	}
document.write('<tr><td valign="top" width="100%" align="left"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top" align="left" width="781" height="118" background="'+path+'images/top.jpg"></td></tr></table></td></tr><tr><td valign="middle" height="25" background="'+path+'images/bg.jpg"></td></tr><tr><td width="100%" valign="top" style="{border-left:8px solid #424242;}"><table width="100%" cellpadding="0" cellspacing="0"><tr><td width="170" valign="top" bgcolor="#0E75B8" style="{border-right:1px solid #E0E4E8;}">');
}

function trim(inputString)
 {
   // Removes leading and trailing spaces from the passed string. Also removes
   // consecutive spaces and replaces it with one space. If something besides
   // a string is passed in (null, custom object, etc.) then return the input.

   if (typeof inputString != "string") { return inputString; }
   var retValue = inputString;
   var ch = retValue.substring(0, 1);
   while (ch == " ") { // Check for spaces at the beginning of the string
      retValue = retValue.substring(1, retValue.length);
      ch = retValue.substring(0, 1);
   }
   ch = retValue.substring(retValue.length-1, retValue.length);
   while (ch == " ") { // Check for spaces at the end of the string
      retValue = retValue.substring(0, retValue.length-1);
      ch = retValue.substring(retValue.length-1, retValue.length);
   }
   while (retValue.indexOf("  ") != -1) { // Note that there are two spaces in the string - look for multiple spaces within the string
      retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); // Again, there are two spaces in each of the strings
   }
   return retValue; // Return the trimmed string back to the user
} // Ends the "trim" function


function IsNumeric()
{

var sFieldValue=frm1.quantity.value
var checkOK = "0123456789";
var checkStr = sFieldValue;
var allValid = true;
var allNum = "";

if (trim(checkStr)=="" || trim(checkStr)==0)
{ 
    alert("Please enter Product Quantity");
	frm1.quantity.focus();
	return(false);
}
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
/*if(i>1)
{
alert("Please Enter Only two digits number");
frm1.quantity.focus();
return false;
}*/
for (j = 0; j < checkOK.length; j++)
{
	if (ch == checkOK.charAt(j))
		break;
}
                                		
if (j == checkOK.length)
{       
        alert("Please enter Numeric Value");
		frm1.quantity.focus();
		allValid = false;
		break;
}
if (ch != ",")
{
	allNum += ch;
}
if (!allValid)
{
	allValid =false;
}
  	}
    	return(allValid);
}

function verifyCompatibleBrowser(){ 
    this.ver=navigator.appVersion 
    this.dom=document.getElementById?1:0 
    this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; 
    this.ie4=(document.all && !this.dom)?1:0; 
    this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
    this.ns4=(document.layers && !this.dom)?1:0; 
    this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) 
    return this 
} 
bw=new verifyCompatibleBrowser() 
  
var speed=30 
var loop, timer 
 
function ConstructObject(obj,nest){ 
    nest=(!nest) ? '':'document.'+nest+'.' 
    this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0; 
    this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0; 
    this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight 
    this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight 
    this.up=MoveAreaUp;this.down=MoveAreaDown; 
    this.MoveArea=MoveArea; this.x; this.y; 
    this.obj = obj + "Object" 
    eval(this.obj + "=this") 
    return this 
} 
function MoveArea(x,y){ 
    this.x=x;this.y=y 
    this.css.left=this.x 
    this.css.top=this.y  
} 
function MoveAreaDown(move){ 
	if(this.y>-this.scrollHeight+objContainer.clipHeight){ 
    this.MoveArea(0,this.y-move) 
    if(loop) setTimeout(this.obj+".down("+move+")",speed) 
	} 
} 
function MoveAreaUp(move){ 
	if(this.y<0){ 
    this.MoveArea(0,this.y-move) 
    if(loop) setTimeout(this.obj+".up("+move+")",speed) 
	} 
} 
function PerformScroll(speed){ 
	if(initialised){ 
		loop=true; 
		if(speed>0) objScroller.down(speed) 
		else objScroller.up(speed) 
	} 
} 
function CeaseScroll(){ 
    loop=false 
    if(timer) clearTimeout(timer) 
} 
var initialised; 
function InitialiseScrollableArea(){ 
    objContainer=new ConstructObject('divContainer') 
    objScroller=new ConstructObject('divContent','divContainer') 
    objScroller.MoveArea(0,0) 
    objContainer.css.visibility='visible' 
    initialised=true; 
} 

function displayStatusMsg(msgStr) { 
  status=msgStr;
  document.returnValue = true;
}

function preloadImages() { 
  var d=document; if(d.images){ if(!d.p) d.p=new Array();
    var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
}

function swapImgRestore() { 
  var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function findObj(n, d) { 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;
}

function swapImage() { 
  var i,j=0,x,a=swapImage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=findObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function statement1(path)
{if (path==null)path="./";
document.write('<table cellpadding=2 cellspacing=0 border=0 width="100%"> <tr><td colspan="2" align="center" height="20" bgcolor="#00008B" class="one"><font color="white"><A HREF="'+path+'about-us.html" class="one">About Us</A> | <A HREF="'+path+'accolades.html" class="one">Accolades</A> | <A HREF="'+path+'disclaimer.html" class="one">Disclaimer</A> | <A HREF="'+path+'return-policy.html" class="one">Return Policy</A> | <A HREF="'+path+'security.html" class="one">Security</A> | <A HREF="'+path+'shipping.html" class="one">Shipping</A> | <A HREF="'+path+'terms-conditions.html" class="one">Terms and Conditions</A> | <A HREF="'+path+'feedback.html" class="one">Feedback</a> | <A HREF="'+path+'sellurproducts.html" class="one">Sell Your Products</a> | <A HREF="'+path+'recommend.html" class="one">Recommend this Site</a> | <a href="contactus.html" class="one">Contact Us</a></font></td></tr><tr><td valign="top" colspan="2" align="center"><table cellpadding=2 cellspacing=0 border=0 width="100%"><tr><td valign="top" align="center"><font class="mainheading"><b>Statement of Confidence</b></font><p align="justify" class="text">Our payment gateway for your online financial transaction is fully secured with 128-bit encryption facility. Your sensitive financial information is not stored on our server and it is free from any human intervention. The gateway server is assigned a server ID and authenticated by Verisign, one of the leading certifying authorities. It may be noted that Payseal can be adapted to support SET.<br><br><b>Indiahandicraftstore.com</b> is a part of Craftsinindia.com Pvt. Ltd. Craftsinindia.com Pvt. Ltd. is a company registered under the Companies Act 1956 with its registered office at New Delhi. The Company deals in all aspects of the Crafts including Handicrafts, embroidered textiles,handmade paper, etc. The Company sources and sells products through the Internet and also holds exhibitions. The Company has built an impressive network of vendors and artisans through whom all its products are sourced. It is a conscious policy to keep the interest of the buyer the uppermost. We have partnered with ICICI Bank and use authentication by Verisign for the secure online transaction through Credit Cards.<br><br>All the orders are shipped by courier. In case the domestic courier i.e. for delivery within India we use the services of Blue Dart and for international courier i.e. delivery outside India we use the services of DHL. If services of our courier company are not available for any delivery locations inside India, the orders are shipped by National Postal Services. </td></tr><tr><td valign="top" align="center" bgcolor="#ffffff" colspan="2"><br><br><img src="'+path+'homeimages/visa.jpg" border=0 width="143" height="43"></center> <br><hr color="#00008B" width=100% size=3></td></tr></table>')
}

function footer(path)
{
	if (path==null)
	{
		path="./";
	}
document.write('<tr><td colspan=3 height=7 bgcolor=#1E90FF></td></tr><tr><td valign="middle" height="25" background="'+path+'images/bg.jpg" class="text" colspan=3 align="right"><font class="text3"><a href="'+path+'disclaimer.html">Disclaimer</a></font> | <font class="text3"><a href="'+path+'contactus.html">Contact Us</a></font>&nbsp;&nbsp;</td></tr><tr><td colspan=3 height=13 bgcolor=#0E75B8></td></tr></table></table></table>');
document.write('<font class="text3"><table width="781" align="center" cellpadding="0" cellspacing="0" height="172"><tr><td align="center" width="66" height="58" valign="middle"><font class="text3"><img border="0" src="images/clients/tybros.jpg" width="125" height="76"></font></td><td align="center" width="32" height="58" valign="middle">&nbsp;</td><td align="center" width="101" height="58" valign="middle"><font class="text3"><img border="0" src="images/clients/mot.jpg" width="133" height="32"></font></td><td align="center" width="99" height="58" valign="middle"><font class="text3"><img border="0" src="images/clients/iato.jpg" width="35" height="45"></font></td><td align="center" width="93" height="58" valign="middle"><font class="text3"><img border="0" src="images/clients/taai.gif" width="39" height="36"></font></td><td align="center" width="105" height="58" valign="middle"><font class="text3"><img border="0" src="images/clients/tafi.jpg" width="50" height="45"></font></td><td align="center" width="71" height="58" valign="middle"><font class="text3"><img border="0" src="images/clients/adtoi.jpg" width="46" height="45"></font></td><td align="center" width="82" height="58" valign="middle">&nbsp;<font class="text3"><img border="0" src="images/clients/atoai.gif" width="50" height="45"></font></td><td align="center" width="132" height="58" valign="middle"><font class="text3"><img border="0" src="images/clients/amadeus.jpg" width="104" height="33"></font></td></tr><tr><td align="center" width="66" height="19">&nbsp;</td><td align="center" width="32" height="19">&nbsp;</td><td width="230" height="19" colspan="2"><p align="right"><font class="text3"><img border="0" src="images/clients/incrediable.jpg" width="140" height="29"></font></td><td align="center" width="93" height="19"><font class="text3"><img border="0" src="images/clients/icici.jpg" width="59" height="70"></font></td><td align="center" width="105" height="19"><font class="text3"><img border="0" src="images/clients/visa.jpg" width="57" height="45"></font></td><td align="center" width="71" height="19"><font class="text3"><img border="0" src="images/clients/MasterCard.jpg" width="58" height="45"></font>&nbsp;</td><td align="center" width="82" height="19">&nbsp;</td><td align="center" width="132" height="19"></td></tr><tr><td align="center" colspan="9" width="780" height="95"><p class="text3"><font class="text3"><B><br><span style="font-size: 9pt">Tybros(India) Tours Pvt. Ltd.</span></B><br>E-mail : <a href="mailto:info@tybrosindia.com">info@tybrosindia.com</a><br><br>© Copyright - tybrosindia.com Pvt Ltd. All Rights Reserved.<br></p></td></tr></table>');
}

loc=document.location+""
i=loc.indexOf("?")
ck="home/"
if(i != -1) {
ck=loc.substring(i+1,loc.length);
document.cookie=ck
}
////////////////////////////////////////////////COMMON FUNCTIONS/////////////////////////////////////////////////////////////////////
//THIS FUNTION CHECK FOR A VALID  EMAIL ADDRESS.
function isValidEmail(emailid) {
if (emailid == ""){
	return false; // because  it is not optional 
}
else{
		var eid=emailid;

		if (eid.indexOf(' ')!= -1){
			return false ; // no spaces
		} 
		if (eid.length < 6 ){
			return false ; // at least j.a@in
		}
		at=eid.indexOf('@', 0); //check from first position ---- 
		if ( at == -1 || at == 0){ //should not be at first place
			return false ;
		}else{
				var at1=eid.indexOf('@', (at + 1)); //looking for another at one place ahead
				if ( at1 == -1 ) // ie only one at is there
				{
					var dot=eid.indexOf('.',(at + 1));//looking for just next value
					if(dot == (at + 1)|| dot== -1){ //if dot is not there or in the next place
						return false ;	
						}
					else{
						 if ( (dot + 2 ) < eid.length )
							return true ;
						 else{
							return false ;
						}
					}
				}
				else // two @ are there
				{
					return false;
				}
			}	
	return false ;
	}		
}
//////////////////THIS FUNCTION CHECK ANY GIVEN PHONE NO.
function isValidPhone(phoneid){
var numstr="1234567890+-, ";
var intctr,intLen;
    intLen=phoneid.length;
        for(intCtr=0;intCtr <= intLen && numstr.indexOf(phoneid.charAt(intCtr))>=0 ;intCtr++);
        if(intCtr > intLen)
              return true;
        else
              return false;
      
}

////////THIS FUNCTION TRIMS THE TRAILING WHITE SPACES IN A GIVEN STRING.
function trim(str1){
// This function trims any given field value for blank spaces.
        var intCtr=0
        for(intCtr=0;str1.charAt(intCtr)==" ";intCtr++);
        str1=str1.substring(intCtr,str1.length);
        return str1;    
}
function checkforchar(strdate){
//This function checks for string values
var validdate = ".abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var strlength = strdate.length;
	for(var i=0; i<=strlength; i++)
	{
		var unitstr = strdate.substr(i,1);
		if (validdate.indexOf(unitstr)==-1)
		{
			return false;
		}
	}
	return true;
}
function isAllNumeric(str1){
//This function checks for numeric values
        var numstr="1234567890 ,-";
        var intctr,intLen;
            intLen=str1.length;
        for(intCtr=0;intCtr <= intLen && numstr.indexOf(str1.charAt(intCtr))>=0 ;intCtr++);
        if(intCtr > intLen)
        {
                return 1;
        }
        else
        {
        return 0;
        }
}

function goBack() { 
history.back();   
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function doSameAs(){
	if (window.document.frm.sameAs.checked){
		window.document.frm.selTitle.value	=			window.document.frm.selSenderTitle.value;
		window.document.frm.txiName.value	=			window.document.frm.txiSenderName.value;
		window.document.frm.txiDesignation.value	=		window.document.frm.txiSenderDesignation.value;
		window.document.frm.txiCompany.value	=		window.document.frm.txiSenderCompany.value;
		
		window.document.frm.txaAddress.value	=		window.document.frm.txaSenderAddress.value;
		window.document.frm.txiCity.value	=		window.document.frm.txiSenderCity.value;
		window.document.frm.txiState.value	=		window.document.frm.txiSenderState.value;
		window.document.frm.txiZipcode.value	=		window.document.frm.txiSenderZipcode.value;
		window.document.frm.selCountry.value	=		window.document.frm.selSenderCountry.value;
		window.document.frm.txiPhone.value	=		window.document.frm.txiSenderPhone.value;
		window.document.frm.txiEmail.value	=		window.document.frm.txiSenderEmail.value;
		window.document.frm.txaRemarks.value	=		window.document.frm.txaSenderRemarks.value;
	}else{
		window.document.frm.selTitle.value	= "";
		window.document.frm.txiName.value	= "";
		window.document.frm.txiDesignation.value	= "";
		window.document.frm.txiCompany.value	= "";
		window.document.frm.txaAddress.value	= "";
		window.document.frm.txiCity.value	= "";
		window.document.frm.txiState.value	= "";
		window.document.frm.txiZipcode.value	= "";
		window.document.frm.selCountry.value	= "";
		window.document.frm.txiPhone.value	= "";
		window.document.frm.txiEmail.value	= "";
		window.document.frm.txaRemarks.value	= "";
	}
return true;
}

function checkForm(frm){
//////////////////////////////////////////////////sender address validations.///////////////////////////////////////////////////
//check for name
	if ( trim(frm.txiSenderName.value).length <= 0 ){
			alert("Billing - Name is missing!");
			frm.txiSenderName.focus();
			return false;
	}
//check name for chars only.
	if ( !checkforchar(trim(frm.txiSenderName.value) )){
		alert("Sorry! Billing - Name has character(s) that are not allowed for name!");
		frm.txiSenderName.focus();
		return false;
	}

//check for address
	if ( trim(frm.txaSenderAddress.value).length <= 0 ){
			alert("Billing  - Address is missing!");
			frm.txaSenderAddress.focus();
			return false;
	}

//check for city
	if ( trim(frm.txiSenderCity.value).length <= 0 ){
			alert("Billing - City is missing!");
			frm.txiSenderCity.focus();
			return false;
	}
//check for state
	//Comented by Akshay on 19th Feb to make state field optional
	//if ( trim(frm.txiSenderState.value).length <= 0 ){
	//		alert("Billing - State is missing!");
	//		frm.txiSenderState.focus();
	//		return false;
	//}

//check for ZipCOde
	if ( trim(frm.txiSenderZipcode.value).length <= 0 ){
			alert("Billing - Zip code is missing!");
			frm.txiSenderZipcode.focus();
			return false;
	}

//check for country
	if ( trim(frm.selSenderCountry.value).toUpperCase() == "NA" ){
			alert("Billing - Country is missing!");
			frm.selSenderCountry.focus();
			return false;
	}

//check for phone
	if ( trim(frm.txiSenderPhone.value).length <= 0 ){
			alert("Billing - Phone is missing!");
			frm.txiSenderPhone.focus();
			return false;
	}
//check for phone validity.
	if ( !isValidPhone(trim(frm.txiSenderPhone.value)) ) {
			alert("Billing - Phone no is not correct!");
			frm.txiSenderPhone.focus();
			return false;
	}


//check for email
	if ( trim(frm.txiSenderEmail.value).length <= 0 ){
			alert("Billing -  Email is missing!");
			frm.txiSenderEmail.focus();
			return false;
	}

//check for email validity.
	if ( !isValidEmail(trim(frm.txiSenderEmail.value)) ) {
			alert("Billing - Email is not correct!");
			frm.txiSenderEmail.focus();
			return false;
	}


//////////////////////////////////////////////////delivery address validations.///////////////////////////////////////////////////
//check for name
	if ( trim(frm.txiName.value).length <= 0 ){
			alert("Delivery - Name is missing!");
			frm.txiName.focus();
			return false;
	}
//check name for chars only.
	if ( !checkforchar(trim(frm.txiName.value) )){
		alert("Sorry! Delivery - Name has character(s) that are not allowed for name!");
		frm.txiName.focus();
		return false;
	}


//check for address
	if ( trim(frm.txaAddress.value).length <= 0 ){
			alert("Delivery  - Address is missing!");
			frm.txaAddress.focus();
			return false;
	}

//check for city
	if ( trim(frm.txiCity.value).length <= 0 ){
			alert("Delivery - City is missing!");
			frm.txiCity.focus();
			return false;
	}
//check for state ***
	//Comented by Akshay on 19th Feb to kake state field optional
	//if ( trim(frm.txiState.value).length <= 0 ){
	//		alert("Delivery - State is missing!");
	//		frm.txiState.focus();
	//		return false;
	//}

//check for ZipCOde
	if ( trim(frm.txiZipcode.value).length <= 0 ){
			alert("Delivery - Zip code is missing!");
			frm.txiZipcode.focus();
			return false;
	}

//check for country
	if ( trim(frm.selCountry.value).toUpperCase() == "NA" ){
			alert("Delivery - Country is missing!");
			frm.selCountry.focus();
			return false;
	}

//check for phone
	if ( trim(frm.txiPhone.value).length <= 0 ){
			alert("Delivery - Phone is missing!");
			frm.txiPhone.focus();
			return false;
	}
//check for phone validity.
	if ( !isValidPhone(trim(frm.txiPhone.value)) ) {
			alert("Delivery - Phone no is not correct!");
			frm.txiPhone.focus();
			return false;
	}


//check for email
	if ( trim(frm.txiEmail.value).length <= 0 ){
			alert("Delivery -  Email is missing!");
			frm.txiEmail.focus();
			return false;
	}

//check for email validity.
	if ( !isValidEmail(trim(frm.txiEmail.value)) ) {
			alert("Delivery - Email is not correct!");
			frm.txiEmail.focus();
			return false;
	}


	if ( frm.txaMsg.value.length > 100 ){
		alert("Gift message is greater than the maximum chars limit(100).\n");
		frm.txaMsg.focus();
		return false;

	}



//if all fields are valid then
	return true;

}

//free JavaScripts at http://www.ScriptBreaker.com
var height = 235;
var vwidth = 150;
var speed = 0;
var step =4;

var hheight = 20; // heigth of a header item
var iheight = 15; // heigth of a item

var bgc = "#DDDEF8" // background color of the item
var tc = "#1C4373" // text color of the item
var  textdec  =  "none";
  
var over_bgc = "#ffffff";
var over_tc = "#00008B";
var  over_textdec  =  "none"; // underline 
var open1 = -1;

var N = (document.all) ? 0 : 1;
var Link_count = 0;
var ntop = 0;
var items = false
var z = 0;
var hnr = 1;
var timerID = null;
var link_array = new Array();

function write_menu()
{
document.write("<div id=main_panel style='height:")
if (N) document.write(height-5);
else document.write(height-2-5);
document.write(";width:");
if (N) document.write(vwidth)
else document.write(vwidth-2)
document.write("'>");

cl =0;
for(i=0;i<Link.length;i++)
{
 la = Link[i].split("|");
 if(la[0] == "0")
 {
   if (items == true) {document.write("</div>");items = false;}
   document.write("<div class='head_item' id='move"+cl+"' style='height:"+hheight+";width:"+vwidth+";top:"+(ntop-1)+";z-index:"+z+"' onclick='move("+cl+","+hnr+")'>&nbsp;&nbsp;"+la[1]+"</a></div>");
   link_array[cl] = new Array("up",0,hnr);
   cl++;hnr++;
   ntop += hheight-1;
   z++;
 }
 else
 {
  cheight = height - ntop + 1;
  if (items == false) {document.write("<div class='item_panel' id='move"+cl+"' style='height:"+cheight+"px;width:"+vwidth+";top:")
  if (N) document.write(ntop+2);
  else document.write(ntop);
  document.write(";z-index:"+z+"'>");
  z++;
  link_array[cl] = new Array("up",0,"");
  cl++;
  }
   document.write("<img src='/images/blank.gif' width=1 height=1><br><a href='"+la[2]+"'");
   if (la[3] != "") document.write(" target='" + la[3] + "' ");
   document.write(" onmouseover=color('item"+i+"') onmouseout=uncolor('item"+i+"') ><div class='item' id='item"+i+"' style='height:"+iheight+";width:"+vwidth+"'>&nbsp;&nbsp;&nbsp;&nbsp;"+la[1]+"</div></a>");
  items = true;
 }
}
//document.write("</div>");
if (items == true) {document.write("</div>");}
}

function color(obj)
{
 document.getElementById(obj).style.backgroundColor = over_bgc;
 document.getElementById(obj).style.color = over_tc
 document.getElementById(obj).style.textDecoration  =  over_textdec; 
}

function uncolor(obj)
{
 document.getElementById(obj).style.backgroundColor = bgc;
 document.getElementById(obj).style.color = tc;
 document.getElementById(obj).style.textDecoration  =  textdec;
}

function move(idnr,hid)
{
 if ((idnr != open1)&& (timerID == null))
 {
 if(link_array[idnr][0] == "up")
 {
  down = height - (hid * hheight) - ((hnr -(hid+1))* hheight) + 2;
  if(N) down+=2;
  dmover(idnr+2,down);
 }
 else
 {
  up = height - ((hid -1) * hheight) -((hnr - (hid))* hheight) +2;
  if(N) up+=2;
  umover(idnr,up);
 }
 open1 = idnr;
 }
}

function dmover(idnr,down)
{
 for (i=idnr;i<link_array.length;i++)
 {
  if(link_array[i][0] == "up")
  {
   txt_obj = "move" + i
   document.getElementById(txt_obj).style.top = parseInt(document.getElementById(txt_obj).style.top) + step;
  }
 }
 down-= step;
 if(down > 0)timerID = setTimeout("dmover("+idnr+","+down+")",speed);
 else 
 {
  for (i=idnr;i<link_array.length;i++) {link_array[i][0] = "down";}
 timerID = null;
 }
}

function umover(idnr,up)
{
 for (i=0;i<(idnr+2);i++)
 {
  if(link_array[i][0] == "down")
  {
   txt_obj = "move" + i
   document.getElementById(txt_obj).style.top = parseInt(document.getElementById(txt_obj).style.top) - step;
  }
 }
 up-=step;
 if(up > 0)timerID = setTimeout("umover("+idnr+","+up+")",speed);
 else 
 {
  for (i=0;i<(idnr+2);i++) {link_array[i][0] = "up";}
 timerID = null;
 }
}
//free JavaScripts at http://www.ScriptBreaker.com

function start(abc,idnr)
{
 write_menu();
 /*for(i=0;i<link_array.length;i++)
 {
  if (link_array[i][2] == idnr)
  {
   pull = i;
   i = link_array.length;
  }
 }*/
   //move(abc,idnr); 'Akshay com
   move(2,idnr);
}  
function getgift()
{
	if (document.gift.giftoptions.value != "")
	{
		location.href = document.gift.giftoptions.value
	}
}

function gotostore()
{
	if (document.store.stores.value != "")
	{
		location.href = document.store.stores.value
	}
}


function leftpanel(path){
	if (path==null)
	{
		path="./";
	}
document.write('<table width="170" height="372" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top" height="39"><IMG SRC="'+path+'images/img-top.jpg" BORDER="0" ALT=""></td></tr><tr><td align="center" valign="top" class="text" height="228"><table width="170" cellpadding="0" cellspacing="0" border="0" class="text" style="{padding-left:1px;}">	<tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle" ><a href="'+path+'index.html" class="text">Home</td></tr>	<tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'aboutus.html" class="text">About Us</td></tr><tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'family-holiday-packages/index.html" class="text">Family Holiday Packages</td></tr> <tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'adventuresports.html" class="text">Adventure Sports in India</td></tr><tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'wildlifeandjunglesafari.html" class="text">Wildlife Tour</td></tr><tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'internationaltours.html" class="text">International Tours</td></tr><tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'educationaltours.html" class="text">Educational Tours</td></tr> <tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'groupbooking.html" class="text">Group Booking</td></tr><tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'ourservices.html" class="text">Our Services</td></tr><tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'accolades.html" class="text">Accolades</td></tr></td></tr><tr><td height="1" bgcolor="#D8BFD8"></td></tr><tr><td valign="top" bgcolor="#0E75B8" style="{padding-left:3px;}" height="19" valign="middle"><a href="'+path+'projectsandachievements.html" class="text">Projects</td></tr></table></td></tr><tr><td height="2" bgcolor="#FFFFFF"></td></tr><tr><td align=center bgcolor="#0E75B8" height="257"><a href="http://www.currentholidaypackages.com", target="blank"><IMG SRC="images/abhinahi.jpg" BORDER="0" ALT="http://www.currentholidaypackages.com" width="170" height="174"></a></td></tr><tr><td height="2" bgcolor="#0E75B8"></td></tr><tr><td height="1" bgcolor="#0E75B8"></td></tr><tr><td height="1" bgcolor="#FFFFFF"></td></tr><tr><td valign="top" bgcolor="#0E75B8" height="9"></embed></td></tr><tr><td height="174" bgcolor="#0E75B8" valign="top"><p><font color="#FFFFFF"><span style="font-size: 9pt; font-weight: 700; text-decoration: underline">Partner Websites:-<br></span></font><br><a href="http://palaceonwheels.mobi/" class="text">palaceonwheels.mobi</a><br><a href="http://www.currentbookings.com/" class="text">currentbookings.com</a><br><a href="http://luxurytrains.mobi/" class="text">luxurytrains.mobi</a></p></td></tr></table>');
}

function breakFrames(){
	if((top.location!=location)&&(String(location).toLowerCase().indexOf("feedback")==-1))top.location.href=document.location.href;
}
window.document.onload=breakFrames();

