// JavaScript Document


   var http_request = false;
    var flag="true";
   function makeRequest(url, parameters) {
      http_request = false;
      if (window.XMLHttpRequest) { // Mozilla, Safari,...
         http_request = new XMLHttpRequest();
         if (http_request.overrideMimeType) {
         	// set type accordingly to anticipated content type
            //http_request.overrideMimeType('text/xml');
            http_request.overrideMimeType('text/html');
         }
      } else if (window.ActiveXObject) { // IE
         try {
            http_request = new ActiveXObject("Msxml2.XMLHTTP");
         } catch (e) {
            try {
               http_request = new ActiveXObject("Microsoft.XMLHTTP");
            } catch (e) {}
         }
      }
      if (!http_request) {
         alert('Cannot create XMLHTTP instance');
         return false;
      }
      http_request.onreadystatechange = alertContents;
      http_request.open('GET', url + parameters, true);
      http_request.send(null);
   }

   function alertContents() {
      if (http_request.readyState == 4) {
         if (http_request.status == 200) {
            //alert(http_request.responseText);
            result = http_request.responseText;
            document.getElementById('myspan').innerHTML = result;            
         } else {
            alert('There was a problem with the request.');
         }
      }
   }
   
   function get(obj) {
      var getstr = "?";
	 
      for (i=0; i<obj.childNodes.length; i++) {
         if (obj.childNodes[i].tagName == "INPUT") {
            if (obj.childNodes[i].type == "text")
			{
				
				if( obj.childNodes[i].disabled==false)
				{
					if( obj.childNodes[i].value=="")
					{
					//alert( obj.childNodes[i].name+" field cannot be left blank.");
							obj.childNodes[i].focus();
					//flag="false";
							break
					}
					else
					{
              			 getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";
					}
				}
            }
            if (obj.childNodes[i].type == "checkbox") {
               if (obj.childNodes[i].checked) {
                  getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";
               } else {
                  getstr += obj.childNodes[i].name + "=&";
               }
            }
            if (obj.childNodes[i].type == "radio") {
               if (obj.childNodes[i].checked) {
                  getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";
               }
            }
			if (obj.childNodes[i].type == "file") {
               getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].type + "&";
            }
         }   
         if (obj.childNodes[i].tagName == "SELECT") {
            var sel = obj.childNodes[i];
            getstr += sel.name + "=" + sel.options[sel.selectedIndex].value + "&";
         }
         if (obj.childNodes[i].tagName == "TEXTAREA") {
			 if( obj.childNodes[i].value=="")
				{
					//alert("Message field cannot be left blank.");
					obj.childNodes[i].focus();
					//flag="false";
					break
				}
				else
				{
             getstr += obj.childNodes[i].name + "=" + obj.childNodes[i].value + "&";
				}
         }
      }
	  if(flag=="true")
	  {
		//  alert(flag);
     // makeRequest('get1.php', getstr);
	  }
   }

function displayExperiencedField()
{
	//if(document.myform.Graduate.value=="No")
	//{
		document.myform.workexpYears.disabled=false;
		document.myform.workexpMonth.disabled=false;
		document.myform.prevSalary.disabled=false;
	//}
}
function disabledExperiencedField()
{
	//if(document.myform.Graduate.value=="No")
	//{
		document.myform.workexpYears.value="";
		document.myform.workexpMonth.value="";
		document.myform.prevSalary.value="";
		
		document.myform.workexpYears.disabled=true;
		document.myform.workexpMonth.disabled=true;
		document.myform.prevSalary.disabled=true;
	//}
}

function enterNumber(num1,num2){
	document.write("<select>");
	for(i=num1;i<num2;i++)
	{
		document.write("<option>"+i+"</option>");
	}
	document.write("</select>");
}
function SelectDate()
{
	D = document.getElementById('txtDOB').value;
	if(D){
		D = D.split('/');
	}else{
		Dat = new Date();
		D = new Array(Dat.getDay(), Dat.getMonth(), Dat.getFullYear());
	}
	win = window.open("date-picker.html","win","status=no,scrollbars=no,toolbar=no,menubar=no,height=150,width=150");
	if (parseInt(navigator.appVersion) == 2 && navigator.appName == "Netscape")
		win = window.open("date-picker.html","win","status=yes,height=325,width=250");
		//win'MakeDate',D[2], D[1],D[0], 'SetDate');
		win.MakeDate(D[2], D[1], D[0]);
}
function SetDate(Day, Month, Year)
{
	document.getElementById('txtDOB').value = Day + '/' + Month + '/' + Year;
}
function displayMenu(inputurl){
	
if(inputurl=="work")
{
	
	var txt='<table width="980" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000"><tr><td width="192" height="22" class="main_menu">&nbsp;&nbsp;PRINT</td><td width="5" bgcolor="#E0E0E1">&nbsp;</td><td width="192" class="main_menu">&nbsp;&nbsp;BRANDING & STATIONERY</td><td width="5" bgcolor="#E0E0E1">&nbsp;</td><td width="192" class="main_menu">&nbsp;&nbsp;SPACE GRAPHICS</td><td width="5" bgcolor="#E0E0E1">&nbsp;</td><td width="192" class="main_menu">&nbsp;&nbsp;PRODUCT DESIGN</td><td width="5" bgcolor="#E0E0E1">&nbsp;</td><td width="192" class="main_menu">&nbsp;&nbsp;MISCELLANEOUS</td></tr></table>';
	document.getElementById("sub_top_center_menu").innerHTML=txt;
	document.getElementById("sub_top_left_menu").style.backgroundColor='#E0E0E1';
	document.getElementById("sub_top_right_menu").style.backgroundColor='#E0E0E1';
	document.getElementById("main_content").innerHTML='<table width="980" border="0" cellspacing="0" cellpadding="0"><tr><td><div id="print"><div id="vertmenu" align="left" style="width:192px"><ul><li><a href=javascript:work_print("link1")>Walking with Angels</a></li><li><a href=javascript:work_print("link2")>Flyers for TV shows</a></li><li><a href=javascript:work_print("link3")>Walking in and around Panaji, Goa</a></li><li><a href=javascript:work_print("link4")>Mojo Cases, Posters & Print Advertisements</a></li><li><a href=javascript:work_print("link5")>Presentation brochure for Via Earth</a></li><li><a href=javascript:work_print("link6")>Visualisation for films (Spring in the Colony)</a></li><li><a href=javascript:work_print("link7")>Visualisation for films (Ghost Ghost Na Raha)</a></li><li><a href=javascript:work_print("link8")>Twilight Treasures</a></li><li><a href=javascript:work_print("link9")>A Mudskippers Memories</a></li><li><a href=javascript:work_print("link10")>Shillong Chamber Choir DVD cover</a></li><li><a href=javascript:work_print("link11")>Parmal 2007</a></li><li><a href=javascript:work_print("link12")>Parmal 2006</a></li><li><a href=javascript:work_print("link13")>Parmal 2005</a></li><li><a href=javascript:work_print("link14")>Parmal 2004</a></li><li><a href=javascript:work_print("link15")>Beastly Tales 1</a></li><li><a href=javascript:work_print("link15b")>Beastly Tales 2</a></li><li><a href=javascript:work_print("link17") style="padding:5px 5px 10px 10px">Travel Diary</a></li></ul></div></div></td><td width="5px"></td><td valign="top"><div id="brand"><div id="vertmenu" align="left" style="width:192px"><ul><li><a href=javascript:work_brand("link1");>Novanet Technologies</a></li><li><a href=javascript:work_brand("link2");>Gingerwater Films</a></li><li><a href=javascript:work_brand("link3");>Black Magic Motion Pictures Ltd.</a></li><li><a href=javascript:work_brand("link4");>Via Earth Films stationery</a></li><li><a href=javascript:work_brand("link5");>Control Print</a></li><li><a href=javascript:work_brand("link6");>Plan B Films</a></li><li><a href=javascript:work_brand("link7");>Spirit Films</a></li><li><a href=javascript:work_brand("link8");>Pagan leather accessories</a></li><li><a href=javascript:work_brand("link9");>Ramesh Sippy Entertainment</a></li><li><a href=javascript:work_brand("link10");>Redchillies VFX</a></li><li><a href=javascript:work_brand("link11");>Ormax Consultants</a></li><li><a href=javascript:work_brand("link12"); style="padding:5px 5px 10px 10px">Valley of Flowers (movie)</a></li></ul></div></div></td><td width="5px"></td><td valign="top"><div id="SPACE"><div id="vertmenu" align="left" style="width:192px"><ul><li><a href=javascript:work_space("link1");>Mojo exhibition</a></li><li><a href=javascript:work_space("link2");>KLG Systel office graphics</a></li><li><a href=javascript:work_space("link3");>Bharati Bhawan mural</a></li><li><a href=javascript:work_space("link4"); style="padding:5px 5px 10px 10px">Westside Window displays</a></li></ul></div></div></td><td width="5px"></td><td valign="top"> <div id="product"><div id="vertmenu" align="left" style="width:192px"><ul><li><a href=javascript:work_product("link1");>Merchandise for Smirnoff</a></li><li><a href=javascript:work_product("link2");>Modular kiosk</a></li><li><a href=javascript:work_product("link3");>Door handles for Valli & Valli</a></li><li><a href=javascript:work_product("link4");>Signage for Star Bazaar (dahisar)</a></li><li><a href=javascript:work_product("link5");>Consultancy for DMA Branding</a></li><li><a href=javascript:work_product("link6"); style="padding:5px 5px 10px 10px">Consultancy for Yellow resources</a></li></ul></div></div></td><td width="5px"></td><td valign="top"><div id="misc"><div id="vertmenu" align="left" style="width:192px"><ul><li><a href=javascript:work_misc("link1");>T-shirts</a></li><li><a href=javascript:work_misc("link2");>Bahek- font design</a></li><li><a href=javascript:work_misc("link3");>Star News font design</a></li><li><a href=javascript:work_misc("link4");>Phocus Wright presentation</a></li><li><a href=javascript:work_misc("link5"); style="padding:5px 5px 10px 10px">ICICI Bank TV commercial</a></li></ul></div></div></td></tr></table>'
	//showContent('work');
}
if(inputurl=="services")
{
	var txt='';
	document.getElementById("sub_top_center_menu").innerHTML=txt;
	document.getElementById("sub_top_left_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("sub_top_center_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("sub_top_right_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("main_content").innerHTML='<table width="980" border="0" cellspacing="0" cellpadding="0"><tr><td class="BLACK"><div  class="main_menu" style="width:60px; padding:2px 5px; background-color:#A7A8AA; color:#FFFFFF"">SERVICES</div></td></tr><tr><td>&nbsp;</td></tr><tr><td><div  class="main_menu" style="width:160px; padding:2px 5px; background-color:#000000">COMMUNICATION DESIGN</div</td></tr><tr><td><div class="CC" style="background-color:FFFFFF; padding:10px 0px 10px 165px"><span class="BLACK">&bull; Information Architecture, Copy Writing<br />&bull; Print: Publications, Brochures, Books, Flyers, Printing Supervision<br />&bull; Branding: Strategy, Positioning, Visual Identity &amp; Brand Manuals<br />&bull; Product Branding: Containers &amp; Graphics<br />&bull; Typeface Design<br />&bull; Illustration</span></div></td></tr><tr><td><div  class="main_menu" style="width:160px; padding:2px 5px; background-color:#000000">INDUSTRIAL DESIGN</div></td></tr> <tr><td><div class="CC" style="background-color:FFFFFF; padding:5px 0px 5px 165px"><span class="BLACK">&bull; Product Design and Development<br />&bull; Retail and Exhibition Design<br />&bull; Manufacturing<br />&bull; Merchandise- Design and Manufacture<br />&bull; Consulting for Product Detailing, Manufacturing Materials &amp; Processes and Value Engineering</span>Here</div></td></tr></table>';
}
if(inputurl=="client")
{
	var txt='';
	document.getElementById("sub_top_center_menu").innerHTML=txt;
	document.getElementById("sub_top_left_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("sub_top_center_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("sub_top_right_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("main_content").innerHTML='<table width="980" border="0" cellspacing="0" cellpadding="0"><tr><td class="BLACK"><div  class="main_menu" style="width:75px; padding:2px 5px; background-color:#A7A8AA; color:#FFFFFF"">CLIENT LIST </div></td></tr><tr><td><div class="CC" style="background-color:FFFFFF; padding:10px 0px 10px 0px"><span class="BLACK">Black Magic Motion Pictures<br /> Contests2Win<br /> Cyrus Oshidar/ Bawa Broadcasting<br />deGustibus/ Indigo Delicatessen<br />DMA Branding<br /> Equinox Films<br /> Ginger Water Films<br /> HSBC Bank<br />ICICI Bank<br />Mindshare Interaction<br />Mocha/ Impresario Entertainment and Hospitality Pvt Ltd<br />Monsoon Films<br />Novanet Technologies<br />PhocusWright<br /> Ramesh Sippy Entertainment<br />Red Chillies.VFX<br />Star News<br />Studio 18<br />Tata TRENT Westside and Star Bazaar<br />The Goa Heritage Action Group<br />The Heritage Network, Goa<br />Viacom 18 / Vh1 <br />Yellow resources </span></div></td></tr></table>';
}
/*if(inputurl=="people")
{
	var txt='';
	document.getElementById("sub_top_center_menu").innerHTML=txt;
	document.getElementById("sub_top_left_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("sub_top_center_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("sub_top_right_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("main_content").innerHTML='<table width="980" border="0" cellspacing="0" cellpadding="0"><tr><td class="BLACK"><div  class="main_menu" style="width:60px; padding:2px 5px; background-color:#A7A8AA; color:#FFFFFF"">PEOPLE</div></td><td>&nbsp;</td></tr><tr><td class="BLACK" height="8px"></td><td>&nbsp;</td></tr><tr><td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><strong class="BLACK">Amit Gudibanda</strong></td></tr><tr><td class="BLACK" height="5"></td></tr><tr><td class="GRAY"><span class="BLACK">Director, Innovation &amp; Technology</span></td></tr><tr><td height="5"></td></tr><tr><td><span class="GRAY">A Product Design graduate of the National Institute of Design, Ahmedabad, Amit is one of the founding partners of Sky Design. He brings to the table his vast knowledge and experience with the interactive medium, from online games, mobile applications, websites, web animation and rich media. Amit is also a consultant to branding firms handling FMCG products, DMA Branding and Yellow Resources, and has worked on product branding for Complan, Parachute, Care and other FMCG brands.</span></td></tr><tr><td>&nbsp;</td></tr></table></td><td width="340" align="right"><img src="images/people1.jpg" width="340" height="160" style="padding:0px 0px 0px 20px"/></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><strong class="BLACK">Misha Gurnanee Gudibanda</strong></td></tr><tr><td class="BLACK" height="5"></td></tr><tr><td class="GRAY"><span class="BLACK">Creative Director</span></td></tr><tr><td height="5"></td></tr><tr><td><span class="GRAY">Misha graduated in Communication and Graphic design from the National Institute of Design, Ahmedabad. Over 7 years, she has worked in Tata Interactive Systems, DMA Branding, and Ray &amp; Keshavan, and has headed a variety of design projects, ranging from Information design for the Reserve Bank of India Monetary Museum, to FMCG brands like Antiquity, Sunfeast, Taj Mahal tea, etc. She co-founded Sky Design with Amit. She is extremely versatile, having worked in the fields of print, branding, packaging, interactive applications, and websites.</span></td></tr><tr><td>&nbsp;</td></tr></table></td><td><img src="images/people2.jpg" width="340" height="162"  style="padding:0px 0px 0px 20px"/></td></tr></table>';
}*/
if(inputurl=="carrers")
{
	var txt='';
	document.getElementById("sub_top_center_menu").innerHTML=txt;
	document.getElementById("sub_top_left_menu").style.backgroundColor='#ffffff';
	document.getElementById("sub_top_right_menu").style.backgroundColor='#ffffff';
	document.getElementById("sub_top_center_menu").style.backgroundColor='#ffffff';
	document.getElementById("main_content").innerHTML='<table width="980" border="0" cellspacing="0" cellpadding="0"><tr><td width="404">&nbsp;</td><td width="85">&nbsp;</td><td width="482">&nbsp;</td><td width="9">&nbsp;</td></tr><tr><td style="line-height:23px" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><p class="GRAY"><span class="style2">We are always looking for people who are passionate about design and quality.</span> <br />At Sky Design, each person takes pride in and responsibilty for their work. Self motivation, passion, an eye for detail, integrity and total commitment to quality are appreciated. </p><p class="BLACK"><span class="GRAY">If you are interested in working with us, please fill out the form below, or send us an email at <a href="mailto://skydesigncareers@gmail.com" class="BLUE">skydesigncareers@gmail.com</a>, along with your resume and portfolio, if possible. We will call you!</span></p></td> </tr> <tr> <td>&nbsp;</td></tr> <tr> <td class="GRAY"><div name="myspan" id="myspan"><form action=javascript:get(document.getElementById("myform")); name="myform" id="myform" style="border:1px solid #3DBCE9; padding:10px 5px 5px 10px"><table><tr><td style="line-height:30px">Name : <input type="text" name="txtName" style=" border:#EEEFEF; background-color:#EEEFEF;"/><br >Date of Birth : <input type="text" name="txtDOB" style=" border:#EEEFEF; background-color:#EEEFEF;" /><br >Gender <input type="radio" name="Gender" value="Male" checked > Male<input type="radio" name="Gender" value="Female" > Female<br>Applying for the position of : <select name="select" style="width:220px; border:#EEEFEF; background-color:#EEEFEF;"><option value="Developer for I-phone games" >Developer for I-phone games</option><option value="Administrator" >Administrator / Project manager</option><option value="Junior/Senior Web Developer">Junior/Senior Web Developer</option><option value="Junior/Senior Flash Animator / Programmer">Junior/Senior Flash Animator / Programmer</option></select><br>Fresh graduate : <input type="radio" name="Graduate" value="Yes" checked  onclick="javascript:disabledExperiencedField();"> Yes<input type="radio" name="Graduate" value="No" onclick="javascript:displayExperiencedField()";>No<br>Previous work experience : <input name="workexpYears" type="text" size="5" style=" border:#EEEFEF; background-color:#EEEFEF;" disabled="disabled" /> years<input name="workexpMonth" type="text" size="5" style=" border:#EEEFEF; background-color:#EEEFEF;" disabled="disabled" /> months<br>Previous salary Rs : <input name="prevSalary" type="text" size="5" style=" border:#EEEFEF; background-color:#EEEFEF;" disabled="disabled" /> per month<br>Expected salary Rs : <input name="exptedSalary" type="text" size="5" style=" border:#EEEFEF; background-color:#EEEFEF;"  /> per month<br>A little about yourself :<br /> <textarea name="yourself" cols="30" rows="2" style=" border:#EEEFEF; background-color:#EEEFEF;"></textarea><br >Upload your resume (Upto 1Mb) : <input name="resume" type="file" style=" border:#EEEFEF; background-color:#EEEFEF;"/><br >Upload your portfolio (Upto 10Mb) : <input name="portfolio" type="file" style=" border:#EEEFEF; background-color:#EEEFEF;"/><br/><input type ="image" src="images/apply.jpg" width="97" height="20" onclick="javascript:get(this.parentNode);" style="padding-top:8px"  /></form></div></td></tr></table><span ></span></td> </tr> </table> <p class="GRAY"><br /></p> </td> <td>&nbsp;</td><td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><div class="main_menu" style="width:140px; padding:2px 5px; background-color:#000000; color:#FFFFFF">CURRENT OPENINGS </div></td></tr> <tr><td><p><span class="BLACK">Developer for I-phone games</span><br /><span class="GRAY">The candidate should have knowledge of C, and an aptitude for developing games. Enthusiasm to explore and self-initiated learning will be appreciated.</span></p><p><span class="BLACK">Administrator / Project manager</span><br /><span class="GRAY">The job profile would include managing the office and supervising the team to ensure that projects are delivered on time. Knowledge of Tally would be an advantage. </span></p><p><span class="BLACK">Junior/Senior Flash Animator / Programmer<br /></span><span class="GRAY">The job profile would include Flash integration and animation for Online advertising, websites, and online and mobile games. Freshers interested in website animaton and coding may apply. A basic knowledge of Flash is necessary. Knowledge of html would be an advantage.</span></p> <p><span class="BLACK">Junior/Senior Web Developer</span><br /> <span class="GRAY">The job profile would include integration of websites using HTML, PHP, XML, JavaScript, MySQL and other web technologies. Basic knowledge of HTML, slicing, optimising is necessary.</span></p></td></tr></table></td><td>&nbsp;</td></tr></table>';
}
if(inputurl=="contact")
{
	var txt='';
	document.getElementById("sub_top_center_menu").innerHTML=txt;
	document.getElementById("sub_top_left_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("sub_top_right_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("sub_top_center_menu").style.backgroundColor='#FFFFFF';
	document.getElementById("main_content").innerHTML='<table width="980" border="0" cellspacing="0" cellpadding="0" style="color:#818284;"><tr><td ><div  class="main_menu" style="width:75px; padding:2px 5px; background-color:#A7A8AA; color:#FFFFFF">CONTACT </div></td></tr><tr><td><div  style="background-color:#ffffff; padding:10px 0px 10px 0px"><span ><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td valign="top">&nbsp;</td> <td>&nbsp;</td> </tr> <tr><td width="160" valign="top"><div  class="main_menu" style="width:160px; padding:2px 5px; background-color:#000000; color:#ffffff;"><b>ADDRESS</b></div> </td> <td></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td style="background-color:#ffffff; color:#000000;">SKY DESIGN<br />Flat No. D/82/817, Ground floor,<br />MIG Co-operative Housing Society,<br />Group V, Gandhi Nagar,<br />Bandra East, Mumbai 400051.</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td><div  class="main_menu" style="width:160px; padding:2px 5px; background-color:#000000; color:#ffffff;"><b>TELEPHONE NUMBER</b></div></td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td><font color="#FFFFFF"><font color="#000000">+91 22 65181051</font></font></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td><div  class="main_menu" style="width:160px; padding:2px 5px; background-color:#000000; color:#ffffff;"><b>EMAIL</b></div></td> <td>&nbsp;</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td><a href="mailto://contactskydesign@yahoo.com" style="color:#000000;">contactskydesign@yahoo.com</a></td></tr> <tr><td>&nbsp;</td> <td>&nbsp;</td></tr></table></span></div></td></tr></table>';
}
}


