Link to home
Start Free TrialLog in
Avatar of mannevenu
mannevenu

asked on

To set as default home page

The code below is working when an hyperlink is clicked but i want to modify the code when button is used instead of hyperlink plzzz help me out its urgent
<html>
<body>
 
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
		if (document.all) {
			document.write('<a class="a" href="javascript:history.go(0);" onclick="');
			document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+document.location.href+"'");
			document.write(');">');
			document.write('Make This Your Homepage<\/a>');
		} else if (document.getElementById) {
			document.write('<a href="'+document.location.href+'" onclick="alert(');
			document.write("'Drag that link onto your Home Page Icon to Make '+document.location.href+' Your Homepage')");
			document.write(';return false;">Make This Your Homepage<\/a>');
		}
//]]>
</script>
 
</body>
</html>

Open in new window

homepage.bmp
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia image

Hi mannevenu,
Try this:
<html>
<body>
 
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
		if (document.all) {
			document.write('<input type="button" onclick="');
			document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+document.location.href+"'");
			document.write(');"');
			document.write('value="Make This Your Homepage"/>');
		} else if (document.getElementById) {
  			document.write('<input type="button" onclick="alert(');
			document.write("'Drag that link onto your Home Page Icon to Make '+document.location.href+' Your Homepage')");
			document.write(';return false;" value="Make This Your Homepage"/>');
		
		}
//]]>
</script>
 
</body>
</html>

Open in new window

Avatar of mannevenu
mannevenu

ASKER

i want to make yahoo as my deafult home page so

document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+document.location.href+"'");


can be written as
document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('www.yahoo.com'");


?
Hi mannevenu,
Yes, you can. I've modify the updates that mentioned. You can change the URL as needed.

<html>
<body>
 
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
   var strURL;
   strURL="www.yahoo.com";//this line - configurable url

            if (document.all) {
                  document.write('<input type="button" onclick="');
                  document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('" + strURL + "'");
                  document.write(');"');
                  document.write('value="Make This Your Homepage"/>');
            } else if (document.getElementById) {
                    document.write('<input type="button" onclick="alert(');
                  document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                  document.write(';return false;" value="Make This Your Homepage"/>');
            
            }
//]]>
</script>
 
</body>
</html>
Its working in IE6.0 but in IE 7.0 when i click button  am getting alert  "Drag that link onto your Home Page Icon to Make  Your Homepage"  but am unable to drag button onto Home page icon can u help me plzzz..
Hi mannevenu,
Perhaps you can add the additional code to check the browser type if I.e then use first condition as i know you're not allow to use ondrag in I.e. URL compare mozilla or other browser.
Here is the fix:
<html>
<body>
 
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
   var strURL;
   var browser=navigator.appName;

   strURL="www.yahoo.com";//this line - configurable url

            if ((document.all) || (browser.toString().indexOf('Microsoft Internet Explorer')!=-1)) {
                  document.write('<input type="button" onclick="');
                  document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('" + strURL + "'");
                  document.write(');"');
                  document.write('value="Make This Your Homepage"/>');
            } else if (document.getElementById) {
                    document.write('<input type="button" onclick="alert(');
                  document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                  document.write(';return false;" value="Make This Your Homepage"/>');
           
            }
//]]>
</script>
 
</body>
</html>
My problem is can we drag button?

we can drag hyperlink but can we drag button?
Hi mannevenu,
Yes, you can drag button (http://www.java2s.com/Code/JavaScriptReference/Event-Handlers-Reference/onDragisappliedto.htm).
But I.E. is not allowed user to drag the text into the address bar.
so can i apply like this?



<html>
<body>
 
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
   var strURL;
   var browser=navigator.appName;

   strURL="www.yahoo.com";//this line - configurable url

            if ((document.all) || (browser.toString().indexOf('Microsoft Internet Explorer')!=-1)) {
                  document.write('<input type="submit" onclick="');
                  document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('" + strURL + "'");
                  document.write(');"');
                  document.write('value="Make This Your Homepage"/>');
            } else if (document.getElementById) {
                    document.write('<input type="submit" onclick="alert(');
                  document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                  document.write(';return false;" value="Make This Your Homepage"/>');
           
            }
//]]>
</script>
 
</body>
</html>
my requirement is when i click button an alert box must appear "Do u want to make this page as default home page"

my design is attached below just check it
homepage.bmp
Hi mannevenu,
Ok, here is the complete fix for you.

<html>
<body>
 
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
   var strURL;
   var strMsg="Do u want to make this page as default home page";
   var browser=navigator.appName;
 
   strURL="www.yahoo.com";//this line - configurable url
 
            if ((document.all) || (browser.toString().indexOf('Microsoft Internet Explorer')!=-1)) {
                  document.write('<input type="submit" onclick="');
                  document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('" + strURL + "'");
                  document.write(');"');
                  document.write('value="' + strMsg + '"/>');
            } else if (document.getElementById) {
                  document.write('<input type="submit" onclick="alert(');
                  document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                  document.write(';return false;" value="' + strMsg + '"/>');
            }
//]]>
</script>
 
</body>
</html>

Open in new window

But am unable to drag button on to home page icon

its not working in mozilla & IE7.0
Hi mannevenu,
I don't see any solution for dragging the button event. But, i've an idea to accomplish this thing using your previous code, but only amend the hyperlink look like button.

<html>
<body>
<style>
.myCSS{
       display:block;//this line
      font-family:Verdana, Arial, Helvetica, sans-serif;
      font-size:13px;
      font-weight:bold;
	  background-color:green;
      width:320px;
      height:22px;
      line-height:18px;
      color:#FFFFFF;
      text-decoration:none;
}
</style>
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
     var strURL='www.yahoo.com';
   var strMsg="Do u want to make this page as default home page";
   var strButton="&nbsp;&nbsp;Set netvibes as my default homepage&nbsp;&nbsp;";
   var browser=navigator.appName;
 
		 if ((document.all) || (browser.toString().indexOf('Microsoft Internet Explorer')!=-1)) {
                	document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
			document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+strURL+"'");
			document.write(');">');
			document.write( strButton +'<\/a>');
		} else if (document.getElementById) {
			document.write('<a class="myCSS" href="'+ strURL +'" onclick="alert(');
			document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
			document.write(';return false;">' + strButton + '<\/a>');
		}
//]]>
</script>
 
</body>
</html>

Open in new window

but its not working in IE 7.0 ?
I have used the below code  and when i run this in IE 7.0 am  getting an error can u help me plzzzz


<script language="javascript" type="text/javascript">

if (document.all) {
                  document.write('<a class="a" href="javascript:history.go(0);" onclick="');
                  document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+document.location.href+"'");
                  document.write(');">');
                  document.write('Make This Your Homepage<\/a>');
            } else if (document.getElementById) {
                  document.write('<a href="'+document.location.href+'" onclick="alert(');
                  document.write("'Drag that link onto your Home Page Icon to Make '+document.location.href+' Your Homepage')");
                  document.write(';return false;">Make This Your Homepage<\/a>');
            }
 
</script>
sa.bmp
And also am using this code in the master page of my application
Hi mannevenu,
Ok, i didn't have I.e7 at the moment. Do you mind to tell the details error in i.e 7?
I have used this code in my master page and am getting the error shown in screen shot
sa.bmp
Hi mannevenu,
Have you try in normal html page before apply into asp.net master page?
Can i know what is the value return for - document.location.href?
eg:

</style>
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
     var strURL='www.yahoo.com';
   var strMsg="Do u want to make this page as default home page";
   var strButton="&nbsp;&nbsp;Set netvibes as my default homepage&nbsp;&nbsp;";
   var browser=navigator.appName;
 
  alert(document.location.href); //check this line

             if ((document.all) || (browser.toString().indexOf('Microsoft Internet Explorer')!=-1)) {
                      document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
                  document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+strURL+"'");
                  document.write(');">');
                  document.write( strButton +'<\/a>');
            } else if (document.getElementById) {
                  document.write('<a class="myCSS" href="'+ strURL +'" onclick="alert(');
                  document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                  document.write(';return false;">' + strButton + '<\/a>');
            }
//]]>
</script>
 
</body>
</html>
When i click default home page link am getting the confirmation box shown in first  screen shot
when  i  select "Yes/No" am getting an error shown in 2nd screen shot
 
sra.bmp
sa.bmp
instead if i use this code:

  var strURL='www.yahoo.com';
   var strMsg="Do u want to make this page as default home page";
   var strButton="&nbsp;&nbsp;Set netvibes as my default homepage&nbsp;&nbsp;";
   var browser=navigator.appName;
 
  alert(document.location.href); //check this line

             if ((document.all) || (browser.toString().indexOf('Microsoft Internet Explorer')!=-1)) {
                      document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
                  document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+strURL+"'");
                  document.write(');">');
                  document.write( strButton +'<\/a>');
            } else if (document.getElementById) {
                  document.write('<a class="myCSS" href="'+ strURL +'" onclick="alert(');
                  document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                  document.write(';return false;">' + strButton + '<\/a>');
            }


no action is performed in IE 7.0 when i click on the hyperlink
Hi mannevenu,
Ok, let me check I.e7 in other machine. Be right back.
Hi mannevenu,

Ok, this tested in i.e 6 and 7.
<html XMLNS:IE>
<body>
<style>
@media all {
   IE\:HOMEPAGE {behavior:url(#default#homepage)}
}
 
.myCSS{
       display:block;//this line
      font-family:Verdana, Arial, Helvetica, sans-serif;
      font-size:13px;
      font-weight:bold;
	  background-color:green;
      width:320px;
      height:22px;
      line-height:18px;
      color:#FFFFFF;
      text-decoration:none;
}
</style>
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
     var strURL='http://www.yahoo.com';//replace this line if using document.location.href;
   var strButton="&nbsp;&nbsp;Set netvibes as my default homepage&nbsp;&nbsp;";
 
		 if (document.all) {
			document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
			document.write(" oHomePage.setHomePage('"+strURL+"'");
			document.write(');">');
			document.write( strButton +'<\/a>');
		} else if (document.getElementById) {
			document.write('<a class="myCSS" href="'+ strURL +'" onclick="alert(');
			document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
			document.write(';return false;">' + strButton + '<\/a>');
		}
//]]>
</script>
<IE:HOMEPAGE ID="oHomePage" />
 
</body>
</html>

Open in new window

I have tested this code  In some Systems am getting error like this
 in IE 6.0 & 7.0
sa.bmp
Hi mannevenu,
Can you try the plain test code that posted first?
I'm curious about the attached error may occurred due to other reason instead.
The plain test code u have posted is working  perfectly in all browsers but when i embed the same code in my master page that code is not working and am getting an error shown in the screen shot


plzzz help me out
sa.bmp
Hi mannevenu,
Ok, i think i found the solution. You need to stop the button execution if user click "Cancel".
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
     var strURL='http://www.yahoo.com';//replace this line if using document.location.href;
   var strButton="&nbsp;&nbsp;Set netvibes as my default homepage&nbsp;&nbsp;";

             if (document.all) {
                  document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
                  document.write(" oHomePage.setHomePage('"+strURL+"'");
                  document.write(');return false;">');//this line!!!!!!!!!!!!!!!!!!!!!!
                  document.write( strButton +'<\/a>');
            } else if (document.getElementById) {
                  document.write('<a class="myCSS" href="'+ strURL +'" onclick="alert(');
                  document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                  document.write(';return false;">' + strButton + '<\/a>');
            }
//]]>
</script>
even though its not working in IE

can u suggest alternative solution for this problem?
Hi mannevenu,
>>even though its not working in IE
Do you still facing same issue?

Possible zip your existing code for the related issue? Let's see anything not right there.
here is my master page
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Home.master.cs" Inherits="Home" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="Login_ctrl.ascx" TagName="Login_ctrl" TagPrefix="uc4" %>
<%@ Register Src="login_cntrl_fe.ascx" TagName="login_cntrl_fe" TagPrefix="uc5" %>
<%@ Register Src="Event.ascx" TagName="Event" TagPrefix="uc3" %>
<%@ Register Src="news.ascx" TagName="news" TagPrefix="uc2" %>
<%@ Register Src="Intruduce_a2c.ascx" TagName="Intruduce_a2c" TagPrefix="uc1" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head><a id="top"></a>
<script type="text/javascript" src="dropdown.js"></script>
<link rel="stylesheet" href="dropdown.css" type="text/css" />
<link href="StyleSheet1.css" rel="stylesheet" type="text/css" />    
<style type="text/css">
@media all {
   IE\:HOMEPAGE {behavior:url(#default#homepage)}
}
 
.myCSS{
       display:block;//this line
      font-family:Verdana, Arial, Helvetica, sans-serif;
      font-size:13px;
      font-weight:bold;
	  background-color:green;
      width:320px;
      height:22px;
      line-height:18px;
      color:#FFFFFF;
      text-decoration:none;
}
</style>
 
<script language="JavaScript1.1" type="text/javascript">
//<![CDATA[
     //var strURL='http://www.access2campus.com';//replace this line if using document.location.href;
   var strButton="&nbsp;&nbsp;Set this as my default homepage&nbsp;&nbsp;";
 
		 if (document.all) {
			document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
			document.write(" oHomePage.setHomePage('"+document.location.href+"'");
			document.write(');">');
			//document.write(');return false;">');
			document.write( strButton +'<\/a>');
		} else if (document.getElementById) {
			document.write('<a class="myCSS" href="'+ document.location.href +'" onclick="alert(');
			document.write("'Drag that link onto your Home Page Icon to Make '+ document.location.href +' Your Homepage')");
			document.write(';return false;">' + strButton + '<\/a>');
		}
//]]>
</script>
<IE:HOMEPAGE ID="oHomePage" /> 
    <script type="text/javascript">    
        var clientid;
        function fnSetFocus(txtClientId)
        {
        	clientid=txtClientId;
        	setTimeout("fnFocus()",1000);
            
        }
  
        function fnFocus()
        {
            eval("document.getElementById('"+clientid+"').focus()");
        }
        function fnClickOK(sender, e) 
        { 
            __doPostBack(sender,e); 
        }
        
        //        
//function ok(sender, e)
//{
//    $find('ModalPopupExtenderLogin').hide();
//    __doPostBack('LoginBtn', e); 
//}
 
//function OnKeyPress(args)
//{
//    if(args.keyCode == Sys.UI.Key.esc)
//    {
//        $find("ModalPopupExtenderLogin").hide();
//    }
//}
// function body_onkeydown() 
//        {
//            if(event.keyCode==13 || event.keyCode==27) 
//            {
//                var _defaultButtonName=getDefautButtonName( event.keyCode==13 ?  "submitButton" : "cancelButton");
//                var frm=document.forms[0];
//                if(frm && document.all(_defaultButtonName))
//                {
//                    document.all(_defaultButtonName).click();
//                }
//            }
//        }
//        
//        function getDefautButtonName(className) 
//        {
//            var _defaultButtonName="";
//            var children = document.getElementsByTagName("input");
//            for (var i = 0; i < children.length; i++) 
//            {
//                var child = children[i];
//                var btnAction = child.buttonAction;
//                if(btnAction == className)
//                {
//                    _defaultButtonName = child.id;
//                    break;
//                }
//            }
//            return _defaultButtonName;
//        }  
//}
       </script> 
<style type="text/css">
<!--
.style1 {
	color: #FF6600;
	font-weight: bold;
	font-size: 12px;
}
.style2 {color: #FFFFFF}
.style3 {color: #000000}
-->
</style>
 
<SCRIPT type=text/javascript>
 function ClearBack()
{
document.getElementById('<%= tdhome.ClientID%>').setAttribute("background","");
document.getElementById('ancHome').style.color="";
document.getElementById('<%= tdabouta2c.ClientID%>').setAttribute("background","");
document.getElementById('abt').style.color="";
document.getElementById('<%= tdfresher1.ClientID%>').setAttribute("background","");
document.getElementById('ancFresher').style.color="";
document.getElementById('<%= tdemployers.ClientID%>').setAttribute("background","");
document.getElementById('ancEmployer').style.color="";
document.getElementById('<%= tdjobsearch.ClientID%>').setAttribute("background","");
document.getElementById('ancjobsearch').style.color="";
document.getElementById('<%= tdacademicprojects.ClientID%>').setAttribute("background","");
document.getElementById('ancacedamic').style.color="";
document.getElementById('<%= tdextra.ClientID%>').setAttribute("background","");
document.getElementById('ancextra').style.color="";
 
document.getElementById('<%= tdregister.ClientID%>').setAttribute("background","");
document.getElementById('Reg').style.color="";
 
}
 
function OnChange(id){
ClearBack();
if(id=="tdhome") {
document.getElementById('<%= tdhome.ClientID%>').setAttribute("background","Images/Btn_Back.png");
document.getElementById('ancHome').style.color="White";
}
 
else if(id=="tdabouta2c"){
document.getElementById('<%= tdabouta2c.ClientID%>').setAttribute("background","Images/Btn_Back.png");
document.getElementById('abt').style.color="White";
}
else if(id=="tdfresher1"){
document.getElementById('<%= tdfresher1.ClientID%>').setAttribute("background","Images/Btn_Back.png");
document.getElementById('ancFresher').style.color="White";
}
 
else if(id=="tdemployers"){
document.getElementById('<%= tdemployers.ClientID%>').setAttribute("background","Images/Btn_Back.png");
document.getElementById('ancEmployer').style.color="White";
}
else if(id=="tdjobsearch"){
document.getElementById('<%= tdjobsearch.ClientID%>').setAttribute("background","Images/Btn_Back.png");
document.getElementById('ancjobsearch').style.color="White";
}
else if(id=="tdacademicprojects"){
document.getElementById('<%= tdacademicprojects.ClientID%>').setAttribute("background","Images/Btn_Back.png");
document.getElementById('ancacedamic').style.color="White";
}
 
else if(id=="tdextra"){
document.getElementById('<%= tdextra.ClientID%>').setAttribute("background","Images/Btn_Back.png");
document.getElementById('ancextra').style.color="White";
}
 
else if(id=="tdregister"){
document.getElementById('<%= tdregister.ClientID%>').setAttribute("background","Images/Btn_Back.png");
document.getElementById('Reg').style.color="White";
}
 
} 
 
 
/***********************************************
* Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
function MM_openBrWindow(theURL,winName,features){ //v2.0
  window.open(theURL,winName,features).moveTo(200,300);
}
 
var delayb4scroll=1000//Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeed=1//Specify marquee scroll speed (larger is faster 1-10)
var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?
 
////NO NEED TO EDIT BELOW THIS LINE////////////
 
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''
 
function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
 
function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}
 
if (window.addEventListener)
window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
window.onload=initializemarquee
 
 
</SCRIPT>
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>WELCOME TO ACCESS2CAMPUS</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<script type="text/JavaScript">
 
	
<!--
function mmLoadMenus() {
  if (window.mm_menu_0809113110_0) return;
                              window.mm_menu_0809113110_0 = new Menu("root",77,16,"Arial, Helvetica, sans-serif",10,"#0054A8","#000000","#EBE9EA","#E6F0FA","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0809113110_0.addMenuItem("Employer","location='company_Regiatration.aspx'");
//  mm_menu_0809113110_0.addMenuItem("Institution","location='College_Regiatration.aspx'");
  mm_menu_0809113110_0.addMenuItem("Fresher","location='ContactSubBP.aspx'");
   mm_menu_0809113110_0.hideOnMouseOut=true;
   mm_menu_0809113110_0.bgColor='#FFFFFF';
   mm_menu_0809113110_0.menuBorder=1;
   mm_menu_0809113110_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0809113110_0.menuBorderBgColor='#FFFFFF';
//window.mm_menu_0816185810_0 = new Menu("root",87,16,"Arial, Helvetica, sans-serif",10,"#003366","#000000","#EAE8E9","#E6F0FA","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
//  mm_menu_0816185810_0.addMenuItem("Vision","location='vision.aspx'");
//  mm_menu_0816185810_0.addMenuItem("Mission","location='mission.aspx'");  
//  mm_menu_0816185810_0.addMenuItem("Contact&nbsp;Us","location='Freshers_Registrer.aspx'");
   mm_menu_0816185810_0.hideOnMouseOut=true;
   mm_menu_0816185810_0.bgColor='#FFFFFF';
   mm_menu_0816185810_0.menuBorder=1;
   mm_menu_0816185810_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0816185810_0.menuBorderBgColor='#FFFFFF';
 
mm_menu_0816185810_0.writeMenus();
} // mmLoadMenus()
 
function MM_findObj(n, d) { //v4.01
  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=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function sendfreesms()
{
(window.open('SMS_Login.aspx',null,'Height=320,width=550,scrollbars=1,status=1 ,resizable=0 ,toolbar=0 ')).moveTo(300,300);
}s
//-->
</script>
<style type="text/css">
<!--
.style1 {
	color: #FF6600;
	font-weight: bold;
	font-size: 12px;
}
-->
</style>
<script language="javascript" type="text/javascript">
 
 
//var strURL='www.yahoo.com';
//   var strMsg="Do u want to make this page as default home page";
//   var strButton="  Set netvibes as my default homepage  ";
//   var browser=navigator.appName;
// 
//                 if ((document.all) || (browser.toString().indexOf('Microsoft Internet Explorer')!=-1)) {
//                        document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
//                        document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+strURL+"'");
//                        document.write(');">');
//                        document.write( strButton +'<\/a>');
//                } else if (document.getElementById) {
//                        document.write('<a class="myCSS" href="'+ strURL +'" onclick="alert(');
//                        document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
//                        document.write(';return false;">' + strButton + '<\/a>');
//                }
 
//var strURL='www.access2campus.com';
//   var strMsg="Do u want to make this page as default home page";
//   var strButton="&nbsp;&nbsp;Set this page as my default homepage&nbsp;&nbsp;";
//   var browser=navigator.appName;
// 
//  alert(document.location.href); //check this line
 
//             if ((document.all) || (browser.toString().indexOf('Microsoft Internet Explorer')!=-1)) {
//                      document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
//                  document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+strURL+"'");
//                  document.write(');">');
//                  document.write( strButton +'<\/a>');
//            } else if (document.getElementById) {
//                  document.write('<a class="myCSS" href="'+ strURL +'" onclick="alert(');
//                  document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
//                  document.write(';return false;">' + strButton + '<\/a>');
//            }
 
//if(!document.isHomePage('http://localhost:6184/090227/index_employers.aspx')) 
//   {
//if (document.all ) {
//		document.write('Click this  link ');
//			document.write('<a class="a" href="javascript:history.go(0);" onclick="');
//			document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('"+strURL+"'");
//			document.write(');">');
//			document.write('Make This Your Homepage<\/a>');
//		} else if (document.getElementById) {
//		document.write('Drag this link onto your Home Page Icon ');
//			document.write('<a href="'+strURL+'" onclick="alert(');
//			document.write("'Drag that link onto your Home Page Icon to Make '+strURL+' Your Homepage')");
//			document.write(';return false;">Make This Your Homepage<\/a>');
//		}
	//}
// var strURL;
//   var strMsg="Do u want to make this page as default home page";
//   var browser=navigator.appName;
// 
//   strURL="www.google.com";
// 
//            if ((document.all) || (browser.toString().indexOf('Microsoft Internet Explorer')!=-1)) {
//                  document.write('<input type="submit" onclick="');
//                  document.write("this.style.behavior='url(#default#homepage)';this.setHomePage('" + strURL + "'");
//                  document.write(');"');
//                  document.write('value="' + strMsg + '"/>');
//            } else if (document.getElementById) {
//                  document.write('<input type="submit" onclick="alert(');
//                  document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
//                  document.write(';return false;" value="' + strMsg + '"/>');
//            }	
</script>
<script language="JavaScript" src="mm_menu.js">
 
function TABLE1_onclick() {
 
}
 
</script>
</head>
 
<body onload="MM_preloadImages('images/services_2.jpg','images/jobsearch_2.jpg','images/register_2.jpg','images/login_2.jpg','images/home2.jpg','images/abouta2c_2.jpg','images/freshers_2.jpg','images/employers_2.jpg','images/products_2.jpg','images/a2cdata_2.jpg','images/Institutions_2.jpg')">
<form id="form1" runat="server">
<script language="JavaScript1.2">mmLoadMenus();</script>
 
    <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  <tr>
    <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0" id="TABLE1" language="javascript" onclick="return TABLE1_onclick()">
      <tr>
        <td height="5" style="width: 100%"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="5px">
          <tr>
            <td width="524" bgcolor="#0767a0"></td>
            <td width="3" bgcolor="#FFFFFF"></td>
            <td width="266" bgcolor="#ec9417"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td bgcolor="#FFFFFF" style="width: 100%"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="width: 100%">
          <tr>
            <td width="352" bgcolor="#FFFFFF" align="left" style="width: 10%; height: 95px;"><img src="images/logo_3.jpg" /></td>
            <td bgcolor="#FFFFFF" style="width: 80%; height: 95px;" align="center">
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="95" style="width: 100%">
          <param name="movie" value="banner.swf" />
          <param name="quality" value="high" />
          <param value="transparent" name="wmode">
          <embed src="banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="100%" height="79"></embed>
        </object>
            </td>
            <td align="right" style="width: 10%; height: 95px;">
                <table style="width: 80%; height: 91px;">
                    <tr>
                        <td style="width: 100%; height: 55px;">
                            <table>
                                <tr>
                                    <td style="width: 100px">
                                        <asp:ImageButton ID="imgbtnhome" runat="server" CausesValidation="False" ImageUrl="~/Images/up_home_btn.png"
                                            OnClick="imgbtnhome_Click" /></td>
                                    <td style="width: 100px">
                                        <asp:ImageButton ID="imgbtnsite" runat="server" CausesValidation="False" ImageUrl="~/Images/sitemap_home_btn.png"
                                            OnClick="imgbtnsite_Click" /></td>
                                    <td style="width: 100px">
                                        <asp:ImageButton ID="imgbtncontactus" runat="server" CausesValidation="False" ImageUrl="~/Images/contact_home_btn.png"
                                            OnClick="imgbtncontactus_Click" /></td>
                                </tr>
                            </table>
                            </td>
                    </tr>
                    <tr>
                        <td style="width: 100%; height: 4px; text-align: center;">
                            <table>
                                <tr>
                                    <td colspan="2">
                                        <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/Login_up.png" /></td>
                                </tr>
                                <tr>
                                    <td style="width: 100px">
                                        <asp:ImageButton ID="imgbtnloginfre" runat="server" ImageUrl="~/Images/Log_Up_Fre.png" OnClick="imgbtnloginfre_Click" CausesValidation="False" /></td>
                                    <td style="width: 100px">
                                        <asp:ImageButton ID="imgbtnloginemp" runat="server" ImageUrl="~/Images/Log_Up_Emp.png" OnClick="imgbtnloginemp_Click" CausesValidation="False" /></td>
                                </tr>
                            </table>
                        
                        </td>
                    </tr>
                </table>
                        </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td background="images/line_add.jpg" align="center" style="width: 100%;">
            <table style="width: 100%">
                <tr>
                    <td style="width: 50%">
                        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="79">
          <param name="movie" value="add_7.swf" />
          <param name="quality" value="high" />
          <param value="transparent" name="wmode">
          <embed src="add_7.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="100%"  height="79"></embed>
        </object>
                    </td>
                    <td style="width: 50%">
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
                    style="height: 79px; border-right-style: none; border-left-style: none; border-bottom-style: none; width: 100%;" width="100%">
                    <param name="movie" value="Default1.swf">
                    <param name="quality" value="high">
                    <param value="transparent" name="wmode">
                    <embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="Default1.swf"
                        type="application/x-shockwave-flash" wmode="transparent" width="100%" style="height: 79px;"  ></embed>
                </object>
                    </td>
                </tr>
            </table>
        </td>
      </tr>
      <tr>
        <td <%--background="images/scrool_bg.jpg"--%> align="left" class="hor_scrool" style="height: 10px; width: 100%;">
            <table style="width: 100%">
                <tr>
                    <td style="width: 85%">
        <MARQUEE onmouseover=this.stop() onmouseout=this.start() 
                  scrollAmount=3 scrollDelay=10 align="right">&nbsp; <A 
                  class="marqueetxt-normal" href="http://www.isit.edu.in/" 
                  target="_blank"><B style="WIDTH: 70%; COLOR: #ff6633">Are you 
                  planning Academic Projects..? Then plan it with ISiTech, an IT 
                  Finishing School, who offers real time projects (IT, Embedded, 
                  Telecom, VLSI) under real time Project Leads guidance in a 
                  real time environment. Project is a key factor in interviews 
                  to get jobs. Do not buy it, rather you do it to get the 
                  desired job. Call:</B> <B>+91-9346561127</B><B>, +91-40-4438 
                  9999</B><B style="COLOR: #ff6633"> or email: </B><B 
                  style="COLOR: #000099">registrations@isit-it.com 
                  </B></A></MARQUEE>
                    </td>
                    <td style="width: 15%">
                        <asp:ImageButton ID="imgbtn_jfregister" runat="server" ImageUrl="~/Images/registerhereJF_white1.gif"
                            OnClick="imgbtn_jfregister_Click1" /></td>
                </tr>
            </table>
        </td>
	  </tr>
      <tr>
        <td background="Images/orange_bg_2.jpg" align="left" style="height: 30px">
        <table border="0" cellspacing="0" cellpadding="0" id="TABLE2" runat="server">
          <tr>
            <td style="height: 22px; width: 1%;" width="1%">&nbsp;</td>
            <td onmouseover="OnChange('tdhome');" onmouseout="ClearBack();" style="text-align: center; width: 8%;" id="tdhome" runat="server" class="" width="8%">
            
                <a href="index_employers.aspx"  class="menubar" id="ancHome" onmouseout="style.color="">Home</a></td>
              <td runat="server" align="center" class="" style="width: 1%" id="Td6">
                  <asp:Image ID="Image1" runat="server" Height="20px" ImageUrl="~/Images/MenuDevider.png"
                      Width="2px" /></td>
            <td width="8%" onmouseover="OnChange('tdabouta2c');" onmouseout="ClearBack();" style="text-align: center;" id="tdabouta2c" runat="server" class=""  >
            <dl class="dropdown" style="text-align: left">
                 <dt class="style" id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)" style="width: 89px; text-align: center"><u id="abt" class="menubar" style="text-align: left">About A2C</u></dt>
                    <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)" style="z-index: 102">
                          <ul style="text-align:left">
                                       <li><a href="vision.aspx" class="underline">Vision </a></li>
                                       <li><a href="mission.aspx" class="underline">Mission</a></li>
                                       <li><a href="Freshers_Registrer.aspx" class="underline">Contact Us </a></li>
                          </ul>
                  </dd>
             </dl>   
            </td>
			
			<td id="Td1" runat="server" align="center" class="" style="width: 1%">
                  <asp:Image ID="Image2" runat="server" Height="20px" ImageUrl="~/Images/MenuDevider.png"
                      Width="2px" /></td>
                      <td onmouseover="OnChange('tdfresher1');" onmouseout="ClearBack();" style="text-align: center; width: 8%;" id="tdfresher1" runat="server" class="" >
			<a href="Freshers.aspx" id="ancFresher" class="menubar" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image18','','images/freshers_2.jpg',1)" ><%--<img src="images/freshers_1.jpg" name="Image18" width="62" height="21" border="0" id="Image18" />--%>
			Freshers</a></td>
<td id="Td2" runat="server" align="center" class="" style="width: 1%">
                  <asp:Image ID="Image3" runat="server" Height="20px" ImageUrl="~/Images/MenuDevider.png"
                      Width="2px" /></td>
                      
			<td width="8%" onmouseover="OnChange('tdemployers');" onmouseout="ClearBack();" style="text-align: center; width: 8%;" class="" id="tdemployers" >
			<a href="Employers_Benfits.aspx" id="ancEmployer" class="menubar" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image19','','images/employers_2.jpg',1)" style="text-align: center"><%--<img src="images/employers_1.jpg" name="Image19" width="62" height="21" border="0" id="Image19" /></a></td><td width="71" style="height: 22px" id="TD3" runat="server"><a href="a2cdata.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image21','','images/a2cdata_2.jpg',1)"><img src="images/a2cdata_1.jpg" name="Image21" width="71" height="21" border="0" id="Image21" />--%>
			 Employers</a>
			</td>
			<td id="Td3" runat="server" align="center" class="" style="width: 1%">
                  <asp:Image ID="Image4" runat="server" Height="20px" ImageUrl="~/Images/MenuDevider.png"
                      Width="2px" /></td>
            <td width="10%" onmouseover="OnChange('tdjobsearch');" onmouseout="ClearBack();" style="text-align: center; width: 9%;" id="tdjobsearch" runat="server" class="">
            <a href="alljobsearch.aspx" id="ancjobsearch" class="menubar" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image22','','images/jobsearch_2.jpg',1)"><%--<img src="images/jobsearch_1.jpg" name="Image22" width="71" height="21" border="0" id="Image22" />--%>
            Job Search</a></td>
            <td id="Td4" runat="server" align="center" class="" style="width: 1%">
                  <asp:Image ID="Image5" runat="server" Height="20px" ImageUrl="~/Images/MenuDevider.png"
                      Width="2px" /></td>
            <td width="13%" onmouseover="OnChange('tdacademicprojects');" onmouseout="ClearBack();" style="text-align: center;" id="tdacademicprojects" runat="server" class="" >
            <a href="Academic_Projects.aspx" id="ancacedamic"class="menubar" style="width: 8%; text-align: center">
             Academic&nbsp;Projects </a></td>
            <td id="Td5" runat="server" align="center" class="" style="width: 1%">
                  <asp:Image ID="Image6" runat="server" Height="20px" ImageUrl="~/Images/MenuDevider.png"
                      Width="2px" /></td>
                      
                      <td runat="server" align="center" class="" style="width: 14%" id="tdextra" onmouseover="OnChange('tdextra');" onmouseout="ClearBack();">
              <a href="Extralinks.aspx" id="ancextra"class="menubar" style="width: 14%; text-align: center">Knowledge&nbsp;Center</a>
              </td>
               <td id="Td7" runat="server" align="center" class="" style="width: 1%">
                  <asp:Image ID="Image8" runat="server" Height="20px" ImageUrl="~/Images/MenuDevider.png"
                      Width="2px" /></td>
            
                       
                       
                       
                       
                       
                       <td onmouseover="OnChange('tdregister');" onmouseout="ClearBack();" style="vertical-align: top; text-align: center; width: 50px;" id="tdregister" class=""><dl class="dropdown" style="text-align: left">
  <dt class="style3" id="four-ddheader" onmouseover="ddMenu('four',1)" onmouseout="ddMenu('four',-1)"><u id="Reg" class="menubar"> Register </u> </dt>
  <dd id="four-ddcontent" onmouseover="cancelHide('four')" onmouseout="ddMenu('four',-1)" style="text-align: center; z-index: 103;">
    <ul style="text-align:left">
      <li><a href="ContactSubBP.aspx" class="underline">Fresher</a></li>
      <li><a href="company_Regiatration.aspx" class="underline">Employer</a></li>
 
    </ul>
  </dd>
</dl></td>
 
<td id="Td8" runat="server" align="center" class="" style="width: 1%">
                  <asp:Image ID="Image9" runat="server" Height="20px" ImageUrl="~/Images/MenuDevider.png"
                      Width="2px" /></td>
 
 
 
<td  align="left" runat="server"  style="width: 15%; vertical-align: top; text-align: center;" id="sms_td">
                <asp:ImageButton id="sendfreesms"  runat="server"  Height="27px" ImageUrl="~/Images/sendfreesms.gif"  />
                <%--<a onmouseover="sendfreesms();"  id="sendfreesms" runat="server"  >         
                <object  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
                    style="width: 70%;  height: 25px; border-right-style: none; border-left-style: none; border-bottom-style: none;">
                    <param name="movie" value="sendfreesms.swf">
                    <param name="quality" value="high">
                    <param value="transparent" name="wmode">
                    <embed onclick="sendfreesms();" pluginspage="http://www.macromedia.com/go/getflashplayer" height="29px" quality="high" src="sendfreesms.swf"
                        type="application/x-shockwave-flash" wmode="transparent" style="width: 100%;"  ></embed>
                 </object>
                </a>   --%></td>
 
            
            <%--<td width="30%" align="left"></td>--%>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td bgcolor="#FFFFFF" style="height: 360px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="border_table" valign="top" width="10%">
                <table border="0" cellpadding="0" cellspacing="0" width="141">
                    <tr>
                        <td id="LoginTD" runat="server" align="center" style="height: 4px" width="10%">
                            <asp:ContentPlaceHolder ID="mstlogin" runat="server" Visible="False">
                            </asp:ContentPlaceHolder>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <asp:Image ID="Image10" runat="server" ImageUrl="Banners/fortune_logo.png" /></td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <asp:Image ID="Image15" runat="server" ImageUrl="Banners/max_newyork.png" /></td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <asp:Image ID="Image11" runat="server" ImageUrl="Banners/four-soft.png" /></td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <asp:Image ID="Image12" runat="server" ImageUrl="Banners/netEnrich_logo.png" /></td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <asp:Image ID="Image13" runat="server" ImageUrl="Banners/htmt_logo.png" /></td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <asp:Image ID="Image14" runat="server" ImageUrl="Banners/sitel_logo.png" /></td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <img height="49" src="Banners/Virtusa.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="130" /></td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <img height="49" src="Banners/spanin.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="130" /></td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <img height="49" src="Banners/archi-excel.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="130" /></td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" height="80" style="width: 143px"><table width="100%">
                            <tr>
                                <td style="width: 50%; text-align: center;" >
                                    <img height="80" src="Banners/247customer.png" style="width: 64px; border-top-style: none;
                                        border-right-style: none; border-left-style: none; border-bottom-style: none" /></td>
                                <td style="width: 50%; text-align: center">
                                    <img height="80" src="Banners/pyro_png.png" style="border-top-style: none; border-right-style: none;
                                        border-left-style: none; border-bottom-style: none" width="64" /></td>
                            </tr>
                        </table>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 2px"><table width="100%">
                            <tr>
                                <td style="width: 50%; text-align: center;" >
                                    <img height="80" src="Banners/isit.png" style="border-top-style: none; border-right-style: none;
                                        border-left-style: none; border-bottom-style: none" width="64" /></td>
                                <td style="width: 50%; text-align: center">
                            <img height="80" src="Banners/JVS.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="64" /></td>
                            </tr>
                        </table>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 2px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <img height="80" src="Banners/celesti_png.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="130" /></td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                        </td>
                    </tr>
                    <tr>
                        <td height="2" style="width: 143px"><table width="100%">
                            <tr>
                                <td style="width: 50%; text-align: center;" >
                                    <img height="80" src="Banners/Infinite.png" style="width: 64px; border-top-style: none;
                                        border-right-style: none; border-left-style: none; border-bottom-style: none" /></td>
                                <td style="width: 50%; text-align: center">
                            <img height="80" src="Banners/influx_png.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="64" /></td>
                            </tr>
                        </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="2" style="width: 143px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" height="80" style="width: 143px">
                            <img height="80" src="Banners/prius_png.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="130" /></td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 2px">
                        </td>
                    </tr>
                    <tr>
                        <td height="2" style="width: 143px"><table width="100%">
                            <tr>
                                <td style="width: 50%; text-align: center;" >
                                    <img height="80" src="Banners/alps_logo.png" style="width: 64px; border-top-style: none;
                                        border-right-style: none; border-left-style: none; border-bottom-style: none" /></td>
                                <td style="width: 50%; text-align: center">
                            <img height="80" src="Banners/justdial_logo.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="64" /></td>
                            </tr>
                        </table>
                            &nbsp;</td>
                    </tr>
                </table>
                        </td>
            <td align="center" valign="top" colspan="2" style="width: 100%">
            <asp:ContentPlaceHolder ID="mstmain" runat="server">
                    </asp:ContentPlaceHolder>
                <table style="width: 100%">
                    <tr>
                        <td style="vertical-align: top; width: 50%;">
                        
                        <cc1:ModalPopupExtender ID="ModalPopupExtenderfresher" runat="server" 
                            BackgroundCssClass="modalBackground" 
                                     dropshadow="false" 
                                     popupcontrolid="PanelLoginfre"
                                     targetcontrolid="imgbtnloginfre">
                            </cc1:ModalPopupExtender>
                           
                            <asp:Panel ID="PanelLoginfre" runat="server" style="display: none; vertical-align: top;" CssClass="modalPopup" Font-Names="@MS PGothic" >
                            <%--<asp:ScriptManager ID="ScriptManager1" runat="server">
                            </asp:ScriptManager>--%>
                                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                <ContentTemplate>
                                                <table align="center" onclick=" return TABLE1_onclick()" style="width: 100%; background-image: url(Images/nlf_background.jpg);">
                                                    <tr>
                                                        <td colspan="2" style="vertical-align: top; text-align: right; width: 100%;">
                                                            <asp:ImageButton ID="imgbtnfreclose" runat="server" Height="21px" ImageUrl="~/Images/remove.png" OnClick="imgbtnfreclose_Click" /></td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" style="vertical-align: top; text-align: center; width: 100%;">
                                                            <asp:Label ID="lblmain" runat="server" BackColor="Snow" CssClass="form_text" Font-Bold="True"
                                                                Font-Size="Medium" Font-Underline="False" ForeColor="White"  Style="vertical-align: middle;
                                                                background-color: transparent; text-align: center; color: #fffacd;" Text="Fresher Login"></asp:Label></td>
                                                    </tr>
                                                    <tr style="font-size: 9pt">
                                                        <td style="vertical-align: middle; height: 15px; text-align: right">
                                                        </td>
                                                        <td style="vertical-align: middle; height: 15px; text-align: left">
                                                        </td>
                                                    </tr>
                                                    <tr style="font-size: 9pt">
                                                        <td colspan="2" style="vertical-align: middle; text-align: right">
                                                            <asp:Panel ID="Panelfre" runat="server" DefaultButton="imgbtnfreshlogin" Style="width: 100%">
                                                                <table style="width: 100%">
                                                                    <tr>
                                                                        <td style="width: 25%">
                                                                            <asp:Label ID="lblfresheruid" runat="server" CssClass="form_text" Font-Bold="True" ForeColor="Black" Style="vertical-align: middle; color: #fffacd;
                                                                                text-align: right" Text="User ID:" Width="54px"></asp:Label></td>
                                                                        <td style="width: 75%; text-align: left">
                                                                            &nbsp;<asp:TextBox ID="txtfresheruid" runat="server" Width="148px" BackColor="LemonChiffon"></asp:TextBox></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="width: 25%">
                                                                        </td>
                                                                        <td style="width: 75%; text-align: left">
                                                                        <table id="erruser" runat="server" visible="false" style="height: 19px">
                                                                                <tr>
                                                                                    <td style="width: 5%; vertical-align: top; height: 19px;">
                                                                                        &nbsp<asp:Image ID="Imagevalid" runat="server" ImageUrl="~/Images/validation error.bmp" /></td>
                                                                                    <td style="width: 75%; vertical-align: top; height: 19px;">
                                                                                        <asp:Label ID="lblfreenteruser" runat="server" CssClass="form_text" ForeColor="Red" Text="Please enter User ID"
                                                                                            Width="131px" Font-Bold="False" Font-Italic="False" Font-Size="Small"></asp:Label></td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="width: 25%; text-align: right">
                                                                            <asp:Label ID="lblfresherpwd" runat="server" CssClass="form_text" Font-Bold="True" ForeColor="Black" Style="color: #fffacd" Text="Password:" Width="65px"></asp:Label></td>
                                                                        <td style="width: 75%; height: 22px; text-align: left">
                                                                            &nbsp;<asp:TextBox ID="txtfresherpwd" runat="server" TextMode="Password" Width="148px" BackColor="LemonChiffon"></asp:TextBox></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="width: 25%; text-align: left">
                                                                        </td>
                                                                        <td style="width: 75%; text-align: left">
                                                                            <table id="errpwd" runat="server" visible="false">
                                                                                <tr>
                                                                                    <td style="width: 5%;">
                                                                                    &nbsp<asp:Image ID="Imagevalid2" runat="server" ImageUrl="~/Images/validation error.bmp" /></td>
                                                                                    <td style="width: 75%;">
                                                                                        <asp:Label ID="lblfreenterpwd" runat="server" CssClass="form_text" ForeColor="Red" Text="Please enter Password"
                                                                                            Width="146px" Font-Bold="False" Font-Size="Small" Height="13px"></asp:Label></td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td colspan="2" style="text-align: center">
                                                                            <asp:ImageButton ID="imgbtnfreshlogin" runat="server" ImageUrl="~/Images/login.png"
                                                                                OnClick="imgbtnfreshlogin_Click" OnClientClick="__defaultFired = false;" UseSubmitBehavior="false" /></td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" class="form_text" colspan="2" style="color: gray;">
                                                            
                                                            <asp:Label ID="lblinvalid" runat="server" CssClass="form_text" Font-Bold="False"
                                                                ForeColor="Red" Text="Label" Visible="False" Width="177px" Font-Size="Small"></asp:Label></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" class="form_text" colspan="2" style="text-align: right">
                                                            <asp:Image ID="imgshow" runat="server" ImageUrl="~/Images/animation.gif" Visible="False" /></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" class="form_text" colspan="2" style="color: white">
                                                            &nbsp;
                                                            New User? 
                                                            <asp:LinkButton ID="lnkbtnfreshregis" runat="server" CausesValidation="False" CssClass="form_text"
                                                                ForeColor="#FF8000" OnClick="lnkbtnfreshregis_Click">Register Now</asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" colspan="2" style="color: gray">
                                                            <table id="tableforgotfre" runat="server" style="width: 100%" visible="true">
                                                                <tr>
                                                                    <td class="form_text" style="width: 64%; text-align: right; height: 15px; color: white;">
                                                                        Forgot Password?</td>
                                                                    <td style="width: 36%; text-align: left">
                                                                        <asp:LinkButton ID="lnkbtnfreshforgot" runat="server" CausesValidation="False" CssClass="form_text"
                                                                            ForeColor="#FF8000" OnClick="lnkbtnforgot_Click">Click here</asp:LinkButton></td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            </asp:Panel>
                            
                        </td>
                         <td width="50%" style="vertical-align: top; width: 50%;">
                             <cc1:ModalPopupExtender ID="ModalPopupExtenderemp" runat="server"
                              BackgroundCssClass="modalBackground" 
                                     dropshadow="false" 
                              TargetControlID="imgbtnloginemp"
                            popupcontrolid="Panelloginemp" >
                             </cc1:ModalPopupExtender>
                             <asp:Panel ID="Panelloginemp" runat="server" style="display: none; vertical-align: top; text-align: center; width: 250px;" CssClass="modalPopup" Font-Names="@MS PGothic"  >
                                 <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                     <ContentTemplate>
                                         <table align="center" onclick=" return TABLE1_onclick()" style="width: 100%; vertical-align: top; text-align: center; background-image: url(Images/nlf_background.jpg); background-repeat: repeat-x;">
                                             <tbody>
                                                 <tr>
                                                     <td colspan="2" style="vertical-align: top; text-align: right; width: 100%;">
                                                         <asp:ImageButton ID="imgbtnempclose" runat="server" Height="21px" ImageUrl="~/Images/remove.png"
                                                             OnClick="imgbtnempclose_Click" /></td>
                                                 </tr>
                                                 <tr>
                                                     <td colspan="2" style="vertical-align: top; text-align: center; width: 100%;">
                                                         <asp:Label ID="lblemphead" runat="server" CssClass="form_text" Font-Bold="True"
                                                             Font-Overline="False" Font-Size="Medium" Font-Strikeout="False" Font-Underline="False"
                                                             ForeColor="White" Style="background-color: transparent; color: #fffacd;" Text="Employer Login"></asp:Label></td>
                                                 </tr>
                                                 <tr>
                                                     <td align="right" colspan="2" style="vertical-align: middle; text-align: center; width: 100%;">
                                                         <asp:Panel ID="Panel1" runat="server" DefaultButton="imgbtnemplogin" Style="width: 100%;
                                                             text-align: center" Width="100%">
                                                             <table style="vertical-align: middle; width: 100%; text-align: center">
                                                                 <tr>
                                                                     <td style="width: 25%; height: 15px; text-align: right">
                                                                     </td>
                                                                     <td style="width: 75%; height: 15px; text-align: left">
                                                                     </td>
                                                                 </tr>
                                                                 <tr>
                                                                     <td style="width: 25%; text-align: right">
                                                                         <asp:Label ID="lbluid" runat="server" CssClass="form_text" Font-Bold="True"
                                                                             ForeColor="Black" Style="vertical-align: top; color: #fffacd; text-align: right"
                                                                             Text="User ID:" Width="54px"></asp:Label></td>
                                                                     <td style="width: 75%; text-align: left">
                                                                         &nbsp;<asp:TextBox ID="txtempuid" runat="server" Width="148px" BackColor="LemonChiffon"></asp:TextBox></td>
                                                                 </tr>
                                                                 <tr>
                                                                     <td style="width: 25%">
                                                                     </td>
                                                                     <td style="width: 75%; text-align: left; vertical-align: top;">
                                                                         <table style="width: 100%">
                                                                             <tbody>
                                                                               <tr>
                                                                                     <td style="width: 5%">
                                                                                       <asp:Image ID="imgenteruser" runat="server" ImageUrl="~/Images/validation error.bmp"
                                                                                             Visible="False" /></td>
                                                                                     <td style="width: 95%">
                                                                                         <asp:Label ID="lblenteruser" runat="server" CssClass="form_text" ForeColor="Red"
                                                                                             Text="Please enter User ID" Visible="False" Width="134px" Font-Bold="False" Font-Size="Small" Height="16px"></asp:Label></td>
                                                                                 </tr>
                                                                             </tbody>
                                                                         </table>
                                                                     </td>
                                                                 </tr>
                                                                 <tr>
                                                                     <td style="width: 25%; text-align: right">
                                                                         <asp:Label ID="lblemppwd" runat="server" CssClass="form_text" Font-Bold="True"
                                                                             ForeColor="Black" Style="left: 0px; vertical-align: middle; color: #fffacd; font-family: Verdana;
                                                                             text-align: right" Text="Password:" Width="65px"></asp:Label></td>
                                                                     <td style="width: 75%; text-align: left">
                                                                         &nbsp;<asp:TextBox ID="txtemppwd" runat="server" TextMode="Password" Width="148px" BackColor="LemonChiffon"></asp:TextBox></td>
                                                                 </tr>
                                                                 <tr>
                                                                     <td style="width: 25%;">
                                                                     </td>
                                                                     <td style="width: 75%; text-align: left;">
                                                                         <table style="width: 100%">
                                                                             <tbody>
                                                                                 <tr>
                                                                                     <td style="width: 5%">
                                                                                        <asp:Image ID="imgenterpwd" runat="server" ImageUrl="~/Images/validation error.bmp"
                                                                                             Visible="False" /></td>
                                                                                     <td style="width: 95%">
                                                                                         <asp:Label ID="lblenterpwd" runat="server" CssClass="form_text" ForeColor="Red" Text="Please enter Password"
                                                                                             Visible="False" Width="154px" Font-Bold="False" Height="16px" Font-Size="Small" style="width: 150px"></asp:Label></td>
                                                                                 </tr>
                                                                             </tbody>
                                                                         </table>
                                                                     </td>
                                                                 </tr>
                                                                 <tr>
                                                                     <td colspan="2" style="width: 100%; text-align: center">
                                                                         
                                                                         <asp:ImageButton ID="imgbtnemplogin" runat="server" ImageUrl="~/Images/login.png"
                                                                             OnClick="imgbtnemplogin_Click" OnClientClick="__defaultFired = false;" UseSubmitBehavior="false" /></td>
                                                                 </tr>
                                                             </table>
                                                         </asp:Panel>
                                                     </td>
                                                 </tr>
                                                 <tr runat="server" id="Tr1">
                                                     <td align="center" colspan="2" style="vertical-align: middle; color: gray; font-family: Verdana; width: 100%;">
                                                         
                                                         <asp:Label ID="lblinvalidemp" runat="server" CssClass="form_text" Font-Bold="False" ForeColor="Red" TabIndex="5" Text="Label" Visible="False" style="left: 0px" Width="156px" Font-Size="Small"></asp:Label></td>
                                                 </tr>
                                                 <tr id="trregis" runat="server">
                                                     <td align="center" colspan="2" style="vertical-align: middle; width: 100%; color: white;">
                                                         &nbsp;&nbsp;
                                                         New User?<asp:LinkButton ID="lnkbtnempregis" runat="server" CausesValidation="False"
                                                             CssClass="form_text" ForeColor="#FF8000" OnClick="lnkbtnempregis_Click" Font-Size="Small">Register Now</asp:LinkButton>
                                                     </td>
                                                 </tr>
                                                 <tr>
                                                     <td align="center" colspan="2" style="vertical-align: middle; color: gray; font-family: Verdana; width: 100%;">
                                                         <table id="tableforgot" runat="server" style="width: 100%" visible="true">
                                                             <tbody>
                                                                 <tr id="trforgot" runat="server">
                                                                     <td class="form_text" style="width: 55%; text-align: right; color: #ffffff; height: 16px;">
                                                                         Forgot Password?</td>
                                                                     <td style="width: 30%; text-align: left; height: 16px;">
                                                                         <asp:LinkButton ID="lnkbtnempforgot" runat="server" CausesValidation="False" CssClass="form_text"
                                                                             ForeColor="#FF8000" OnClick="lnkbtnempforgot_Click" Font-Size="Small">Click here</asp:LinkButton></td>
                                                                 </tr>
                                                             </tbody>
                                                         </table>
                                                     </td>
                                                 </tr>
                                             </tbody>
                                         </table>
                                     </ContentTemplate>
                                 </asp:UpdatePanel>
                             </asp:Panel>
                             &nbsp;
                             
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="vertical-align: top; width: 100%; height: 106px;" runat="server" id="tdalwaysvisible">
                        </td>
                    </tr>
                </table>
               
                </td>
            <td align="right" valign="top" class="border_table" width="10%">
                <table border="0" cellpadding="0" cellspacing="0" width="146">
                    <tr>
                        <td align="center" background="Images/Side_Head_BG.png" bgcolor="#949799" class="sheadings"
                            colspan="2" rowspan="1" style="width: 146px; height: 26px">
                            Latest News</td>
                    </tr>
                    <tr>
                        <td align="left" class="border_table" height="100" style="width: 151px" valign="top">
                             <div id="marqueecontainer" style="z-index:101">     
                            <marquee runat="server" scrollamount="2" direction="up" onmouseover="stop();" onmouseout="start();" id="Marquee1" >   
                                        <uc2:news ID="News1" runat="server" />
                                    </marquee>   
                                       </div>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" background="Images/Side_Head_BG.png" bgcolor="#949799" class="sheadings"
                            colspan="2" style="height: 26px">
                            </td>
                    </tr>
                    <tr>
                        <td align="left" class="border_table" style="width: 151px; height: 99px" valign="top">
                <%--<DIV id=DIV2 onmouseover=copyspeed=pausespeed onmouseout=copyspeed=marqueespeed style="">
                <div id=Div3 onmouseover=copyspeed=pausespeed onmouseout=copyspeed=marqueespeed>                    
                 --%>   
                            <br />
                            <table border="0" cellpadding="0" cellspacing="0" width="141">
                                
                                                   <tr>
                        <td align="center" style="width: 143px">
                            <img height="50" src="Banners/maram_logo.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="130" /></td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <img height="50" src="Banners/aditya_logo.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="130" /></td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px">
                            <img height="50" src="Banners/jiva_logo.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="130" /></td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 143px; height: 13px;">
                            <img height="50" src="Banners/knoah_logo.png" style="border-top-style: none; border-right-style: none;
                                border-left-style: none; border-bottom-style: none" width="130" /></td>
                    </tr>
                    <tr>
                        <td style="width: 143px; height: 4px">
                        </td>
                    </tr>
                    
                    <tr>
                                                       <td align="center" style="width: 143px">
                                                           <img height="50" src="Banners/danlaw.png" style="border-top-style: none; border-right-style: none;
                                                               border-left-style: none; border-bottom-style: none" width="130" /></td>
                                                   </tr>
                                                   <tr>
                                                       <td style="width: 143px; height: 4px">
                                                       </td>
                                                   </tr>
                                                   <tr>
                                                       <td align="center" style="width: 143px; height: 80px">
                                                           <img height="80" src="Banners/ces.png" style="width: 64px; border-top-style: none;
                                                               border-right-style: none; border-left-style: none; border-bottom-style: none" />
                                                           <img height="80" src="Banners/Y-brant.png" style="border-top-style: none; border-right-style: none;
                                                               border-left-style: none; border-bottom-style: none" width="64" /></td>
                                                   </tr>
                                <tr>
                                    <td align="center" style="width: 143px; height: 33px">
                                        <img src="Banners/Ibee.png" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none" width="130" /></td>
                                </tr>
                                <tr>
                                    <td height="2" style="width: 143px">
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" height="80" style="width: 143px; height: 80px">
                                        <img height="80" src="Banners/spry.png" style="width: 64px; border-top-style: none;
                                            border-right-style: none; border-left-style: none; border-bottom-style: none" />
                                        <img height="80" src="Banners/inteq.png" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none" width="64" /></td>
                                </tr>
                                <tr>
                                    <td height="2" style="width: 143px">
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" height="80" style="width: 143px; height: 80px">
                                        <img height="80" src="Banners/kelton.png" style="width: 64px; border-top-style: none;
                                            border-right-style: none; border-left-style: none; border-bottom-style: none" />
                                        <img height="80" src="Banners/signix.png" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none" width="64" /></td>
                                </tr>
                                <tr>
                                    <td height="2" style="width: 143px">
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="width: 143px; height: 82px">
                                        <img height="80" src="Banners/yash.png" style="width: 64px; border-top-style: none;
                                            border-right-style: none; border-left-style: none; border-bottom-style: none" />
                                        <img height="80" src="Banners/sigmund.png" style="width: 64px; border-top-style: none;
                                            border-right-style: none; border-left-style: none; border-bottom-style: none" /></td>
                                </tr>
                                <tr>
                                    <td height="2" style="width: 143px">
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="width: 143px">
                                        <img id="IMG1" onclick="return IMG1_onclick()" src="Banners/frodoe_logo.png" style="border-top-style: none;
                                            border-right-style: none; border-left-style: none; border-bottom-style: none"
                                            width="130" /></td>
                                </tr>
                                <tr>
                                    <td height="2" style="width: 143px">
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="width: 143px">
                                        <img id="IMG2" onclick="return IMG1_onclick()" src="Banners/bajaj.png" style="border-top-style: none;
                                            border-right-style: none; border-left-style: none; border-bottom-style: none"
                                            width="130" /></td>
                                </tr>
                                <tr>
                                    <td height="2" style="width: 143px">
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="width: 143px">
                                        <img id="IMG3" onclick="return IMG1_onclick()" src="Banners/aurona.png" style="border-top-style: none;
                                            border-right-style: none; border-left-style: none; border-bottom-style: none"
                                            width="130" /></td>
                                </tr>
                                <tr>
                                    <td height="2" style="width: 143px">
                                        <table border="0" cellpadding="0" cellspacing="0" width="141">
                                            <tr>
                                                <td height="4" style="width: 143px">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center" style="width: 143px; height: 82px">
                                                    <img height="80" src="Banners/helix.png" style="width: 64px; border-top-style: none;
                                                        border-right-style: none; border-left-style: none; border-bottom-style: none" />
                                                    <img height="80" src="Banners/Acubesoft.png" style="border-top-style: none; border-right-style: none;
                                                               border-left-style: none; border-bottom-style: none" width="64" /></td>
                                            </tr>
                                            <tr>
                                                <td height="2" style="width: 143px">
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" background="buttons/login_bg.jpg" colspan="2" style="width: 146px;
                            height: 106px" width="100%">
                            <asp:ContentPlaceHolder ID="contintrofriend" runat="server">
                            </asp:ContentPlaceHolder>
                        </td>
                    </tr>
                </table>
            </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="31" background="images/footer_bg.jpg" valign="top">&nbsp;
              <table width="920" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td  align="left" class="foter_allrites" style="height: 25px; width: 400px;">All Rights Reserved @ Four ACE Data Projects Pvt Ltd</td>
                  <td width="10" style="height: 25px">&nbsp;</td>
                  <td valign="middle" style="height: 25px; width: 290px;" align="right"><table width="608" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="69"  class="footer_links"><a href="terms_conditions.aspx">Terms of Use </a></td>
						<td width="12"></td>
                        <td width="76" class="footer_links"><a href="privacy_policy.aspx">Privacy Policy</a></td>
						<td width="12"></td>
                        <td width="64" class="footer_links"> <a href="disclamier.aspx">Disclaimer</a> </td>
						<td width="12"></td>
                        <td width="35" class="footer_links"><a href="index_employers.aspx"> Home</a></td>
						<td width="12"></td>
                        <td width="63" class="footer_links" align="left"><a href="freshers_registrer.aspx">Contact Us</a></td>
						<td width="12"></td>
						<td width="82" class="footer_links" align="left"><a href="#">Report an Error</a></td>
						<td width="12"></td>
						<td width="95" class="footer_links" align="left"><a href="#">Careers with A2C</a></td>
						<td width="12"></td>
						<td width="47" class="footer_links" align="left">
                            S<a href="#">ite Map</a></td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
      </tr>
    </table></td>
  </tr>
</table>
 
 
<map name="Map" id="Map">
  <area shape="poly" coords="60,24" href="index_employers.aspx" /><area shape="poly" coords="60,24" href="#" />
<area shape="rect" coords="3,16,45,35" href="index_employers.aspx" /><area shape="rect" coords="53,16,107,35" href="index_employers.aspx" /><area shape="rect" coords="112,16,179,36" href="FRESHERS_REGISTRER.ASPX" /></map>
</form>
</body>
</html>

Open in new window

The code u have posted is working fine plainly

but when i use the same code in my master page no action is performed when hyperlink is clciked
Hi mannevenu,
This line
<html xmlns="http://www.w3.org/1999/xhtml">
Change to
<html XMLNS:IE>
Hi mannevenu,
One more thing, put this line inside <body> tag instead.
<body>
<IE:HOMEPAGE ID="oHomePage" />
.....//your existing code
</body>
Yeah its working fine  except one small issue when i click hyperlink in mozilla i should get an alert message

else if (document.getElementById) {
                  document.write('<a class="myCSS" href="'+ document.location.href +'" onclick="alert(');
                  document.write("'Drag that link onto your Home Page Icon to Make '+ document.location.href +' Your Homepage')");
                  document.write(';return false;">' + strButton + '<\/a>');
            }


alert is not working in mozilla.....
Hi mannevenu,
I can see the alert message in popup? Tested in mozilla 2.0
popup-mozilla.JPG
Yep am able to see the alert message.Thanks for ur suggestions & solutions

Last one when i set my page as default home page  hyperlink should disappear
Hi mannevenu,
There are a lot of checking to verify if you need to turn off the hyperlink once user click the hyperlink under different circurmtance. User should able to set the homepage again if his/her reset the homepage to "blank" or other site. If you just need to hide the hyperlink once clicked, just set
this.style.display='none' under the defined object. But, you can't detect whether user click "Yes/No" in the default homepage setting(pop-up).
eg:
 if (document.all) {
                  document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
                  document.write(" oHomePage.setHomePage('"+strURL+"'");
                  document.write(');this.style.display=\'none\';return false;">');//this line
                  document.write( strButton +'<\/a>');
            }
is there any method like isHomePage() to get the current default home page
Hi mannevenu,
Yes, you can use isHomePage() to check the existance of defined home page.
eg:
<script>
alert(isHomePage('http://www.yahoo.com'));//check true or not
</script>
...
<IE:HOMEPAGE ID="oHomePage" />

http://msdn.microsoft.com/en-us/library/ms531394(VS.85).aspx
Yep i have tried using that code  but its not working i have used the following code

can u help me ?


<SCRIPT>
var strURL='http://www.access2campus.com';
var   sQueryHome = oHomePage.isHomePage(strURL);
    if (sQueryHome)
           {          
           }    
          else
          {
           if (document.all) {
                    document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
                      document.write(" oHomePage.setHomePage('"+document.location.href+"'");
                        //document.write(');">');
                        document.write(');return false;">');
                     document.write( strButton +'<\/a>');                        
               } 
              else if(document.getElementById) 
          { 
                 document.write('<a class="myCSS" href="'+ strURL+'" onclick="alert(');
                 document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                document.write(';return false;">' + strButton + '<\/a>');               
       }
          } 
  
</SCRIPT>
 
<IE:HOMEPAGE ID="oHomePage" />

Open in new window

Hi mannevenu,
For your information, the isHomePage method will always return false if the document that is calling the isHomePage method is not on the same domain. For example, if www.access2campus.com is set as your homepage, and you call this method from a page on the access 2 campus Web site, then the isHomePage method returns true. However, if your homepage is set to http://www.access2campus.com and you call this method from a page on a different domain, the method will return false.

http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/isHomePage1.htm
So if my default home page is not www.google.com and if i invoke this method then it returns false

then is the code correct?

but its not working what may be the reason....
<SCRIPT>
var strURL='http://www.google.com';
var   sQueryHome = oHomePage.isHomePage(strURL);
    if (sQueryHome)
           {          
           }    
          else
          {
           if (document.all) {
                    document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
                      document.write(" oHomePage.setHomePage('"+document.location.href+"'");
                        //document.write(');">');
                        document.write(');return false;">');
                     document.write( strButton +'<\/a>');                        
               } 
              else if(document.getElementById) 
          { 
                 document.write('<a class="myCSS" href="'+ strURL+'" onclick="alert(');
                 document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                document.write(';return false;">' + strButton + '<\/a>');               
       }
          } 
  
</SCRIPT>
 
<IE:HOMEPAGE ID="oHomePage" />

Open in new window

My requirement is first we need to check default home page if default home page is not google.com then we need to change/set  the default home page  
Hi mannevenu,
That is limitation of I.e control that you're using unless you have the accessibility to access user's pc to retrieve his/her's default home page setting.
But, shouldn't the default home page cheking should perform under same domain instead?
eg:
Your site:  www.access2campus.com
Your page: Allow user click to set default home page(www.access2campus.com) if this page not being set as user's default home page.
so is this  code correct?

<SCRIPT>
var strURL='http://www.google.com';
var   sQueryHome = oHomePage.isHomePage(strURL);
    if (sQueryHome)
           {          
           }    
          else
          {
           if (document.all) {
                    document.write('<a class="myCSS" href="javascript:history.go(0);"  onclick="');
                      document.write(" oHomePage.setHomePage('"+document.location.href+"'");
                        //document.write(');">');
                        document.write(');return false;">');
                     document.write( strButton +'<\/a>');                        
               }
              else if(document.getElementById)
          {
                 document.write('<a class="myCSS" href="'+ strURL+'" onclick="alert(');
                 document.write("'Drag that link onto your Home Page Icon to Make '+ strURL +' Your Homepage')");
                document.write(';return false;">' + strButton + '<\/a>');              
       }
          }
 
</SCRIPT>
 
<IE:HOMEPAGE ID="oHomePage" />
ASKER CERTIFIED SOLUTION
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank u very much it is working fine