You are on page 1of 5

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ContactUs2.aspx.

cs"
Inherits="ContactUs2" %>

<!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 runat="server">
<title>Contact Us</title>
<link rel='stylesheet' type='text/css' id="csslink" runat="server" />
<script type="text/javascript" language="javascript"
src="include/commonFunction.js"></script>
<script type="text/javascript" language="javascript"
src="include/roundedcornerdiv.js"></script>
<script type="text/javascript">
function ValidateAndSend()
{
var strCBData="";
if (window.document.frmContactUs.ContactCategory.value=='')
{
alert('Please choose a category.');
window.document.frmContactUs.ContactCategory.focus();
return false;
}
else
{
strCBData +=document.getElementById("fname").value+"#@~;";
strCBData +=document.getElementById("mname").value+"#@~;";
strCBData +=document.getElementById("lname").value+"#@~;";
strCBData +=document.getElementById("comment").value+"#@~;";
strCBData +=document.getElementById("SendTo").value+"#@~;";
strCBData +=document.getElementById("ContactCategory").value+"#@~;";
strCBData +=document.getElementById("ckPermission").checked+"#@~;";
strCBData +=document.getElementById("pwd").value+"#@~;";
if(document.getElementById("emailaddr")!=null)
{ alert(document.getElementById("emailaddr"));
strCBData +=document.getElementById("emailaddr").value;
}
CallBkServer(strCBData);
return false;
}
}

function CallBkServer(getCBParam)
{
HideOptionItems();
ShowUpdateProgress();
useCallback(getCBParam);
return false;
}

function getServerOutput(StrServerCalBk, context)


{
document.getElementById("PopupUpdateProgress").style.display="none";
document.getElementById("divinnerPopUp").style.display="none";
ShowOptionItems();
clearAllFields();
alert(StrServerCalBk);
}
function clearAllFields()
{
document.getElementById("comment").value="";
document.getElementById("pwd").value="";
document.getElementById("SendTo").selectedIndex=0;
document.getElementById("ContactCategory").selectedIndex=0;
document.getElementById("ckPermission").checked=false;
}

//---------------------------------------------------------------------------------
---------------------
function ShowUpdateProgress()
{
var ScrWidth = document.body.clientWidth;
var ScrHeight = document.body.clientHeight;
document.getElementById('PopupUpdateProgress').style.top = 0;
document.getElementById('PopupUpdateProgress').style.left = 0;
document.getElementById('PopupUpdateProgress').style.height=ScrHeight;
document.getElementById("PopupUpdateProgress").style.display="block";
document.getElementById("divinnerPopUp").style.display="block";
}
function HideOptionItems()
{
var totalOptionTag=document.getElementsByTagName('select').length;
var OptionItemName='';
for(var index=0;index<totalOptionTag;index++)
{
OptionItemName=document.getElementsByTagName('select')[index].id;
document.getElementById(OptionItemName).style.visibility="hidden";
}
}

function ShowOptionItems()
{
var totalOptionTag=document.getElementsByTagName('select').length;
var OptionItemName='';
for(var index=0;index<totalOptionTag;index++)
{
OptionItemName=document.getElementsByTagName('select')[index].id;
document.getElementById(OptionItemName).style.visibility="visible";
}
}
//---------------------------------------------------------------------------------
---------------------
function pageLoad(sender, args)
{
setAjaxRoundedCornerBorderColorForDiv('rcb1','.roundedPanel');
}
//---------------------------------------------------------------------------------
---------------------
</script>
</head>
<body>
<form id="frmContactUs" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<table border='0' cellspacing="0" cellpadding="0" width="83%">
<tr>
<td height="25" align="right" valign="middle" class="td_2"><a
href="JavaScript:OpenHelp('');"><img src="<%=strBrandPath%>images/help_but.jpg"
width="53" height="17" border="0" alt=""/></a></td>
</tr>
<tr>
<td valign="middle" class="bodytext_4" align="left">Support Center</td>
</tr>
<tr>
<td class="line_separator"><img src="<%=strBrandPath%>images/bg.gif"
width="1" alt="" height="1" alt="" /></td>
</tr>
<tr>
<td class="header_text1">&nbsp;Contact Us</td>
</tr>
</table>
<div id="divContact" runat="server" class="roundedPanel" style="width: 82%;">
<table>
<tr>
<td width="2%"></td>
<td>
<table border='0'>
<tr>
<td class="bodytext_5">
If you have a question or comment, please fill out the following form
and we'll get back to you as soon as possible!<br>&nbsp;<br>
<% if(Convert.ToInt32(Session["ServiceUsed"]) > 2) %>
You may also call customer service:<span class='bodytext_7'> <
%=Convert.ToString(Session["CustomerCareNumber"])%></span><br /><br />
</td>
</tr>
<tr>
<td class="bodytext_5">
Name: (First, M, Last)<br />
<input type="text" id="fname" class="textfieldsm_1" size="20"
value="<%=Convert.ToString(Session["FirstName"])%>"/>&nbsp;<input type="Text"
id="mname" class="textfieldsm_1" size="1" maxlength="1"/>&nbsp;<input type="text"
id="lname" class="textfieldsm_1" size="20" value="<
%=Convert.ToString(Session["LastName"])%>"><br /><br />
</td>
</tr>
<tr>
<td class="bodytext_5">
<%if(Convert.ToString(Session["MailboxDN"]).Trim()=="" &&
Convert.ToString(Session["PasswordRemind_EmailAddress"]).Trim()=="" )
{ %>
Full Email Address: (include part after @ sign)<br>
<input type="text" id="emailaddr" class="textfieldsm_1"
size="50" value="<%= HttpContext.Current.Request["emailaddr"]%>">&nbsp;* Required
<%} %>
</td>
</tr>
<tr width="100%">
<td class="bodytext_5" width="100%">
Comment, Question, or Problem:<br>
<textarea cols='100' id='comment' rows='4'
class="textarea_1"></textarea><br /><br />
</td>
</tr>
<tr>
<td class="bodytext_5">
Send to:<br>
<select id="SendTo" size="1" class="select2">
<option value="<% =
Convert.ToString(Session["CoBrandSupportEmailAddr"]) %>">Customer Support</option>
<option value="<% =
Convert.ToString(Session["CoBrandBillingEmailAddr"]) %>">Billing
Department</option>
</select>
<br>&nbsp;
<br>
</td>
</tr>
<tr>
<td class="bodytext_5">
Category:<br>
<select id="ContactCategory" size="1" class="select2">
<option value="">Choose Category</option>
<option value='<%=Server.HtmlEncode("Billing Question")
%>'>Billing Question</option>
<option value='<
%=Server.HtmlEncode("Browser/POP/Configuration")
%>'>Browser/POP/Configuration</option>
<option value='<%=Server.HtmlEncode("Email Problem/Options")
%>'>Email Problem/Options</option>
<%if
(Convert.ToBoolean(Session["CoBrandFeatureOutboundFax"]) == true ||
Convert.ToBoolean(Session["CoBrandFeatureInboundFax"]) == true)
{%>
<option value='<%=Server.HtmlEncode("Fax
Problem/Options")%>'>Fax Problem/Options</option>
<%} %>
<option value='<%=Server.HtmlEncode("Telephone Options")
%>'>Telephone Options</option>
<option value='<%=Server.HtmlEncode("Voice Mail
Problems/Options")%>'>Voice Mail Problems/Options</option>
<option value='<%=Server.HtmlEncode("Pricing/Packages")
%>'>Pricing/Packages</option>
<option value='<%=Server.HtmlEncode("Question/Help")
%>'>Question/Help</option>
<option value='<%=Server.HtmlEncode("Spam")%>'>Spam</option>
<option value='<%=Server.HtmlEncode("Suggestions/Enhancements")
%>'>Suggestions/Enhancements</option>
<option value='<%=Server.HtmlEncode("Web Site Problems")%>'>Web
Site Problems</option>
</select><br /><br />
</td>
</tr>
<tr>
<td align="left">
<table border='0'>
<tr>
<td class="bodytext_6">
<input type="checkbox" class="bodytext_5" id="ckPermission"
value="yes">
Yes, I give Email Support authorization to go into my account.
</td>
</tr>
<tr>
<td class="bodytext_6">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;My password is
<input type="password" id="pwd" class="textfieldsm_1">
</td>
</tr>
</table>
<br>
</td>
</tr>
<tr>
<td>
<%=objclsCommon.GenerateButtonLeftPart(strBrandPath)%>
<asp:LinkButton id="btnCencel" CssClass="link8" runat="server"
OnClientClick="javascript:return ValidateAndSend();">Submit</asp:LinkButton>
<%=objclsCommon.GenerateButtonRightPart(strBrandPath)%>
</td>
</tr>
</table>
</td>
<td width="2%"></td>
</tr>
</table>
</div>
<div id="PopupUpdateProgress" class="modalProgressGreyBackground"
style="width: 100%;
position: absolute; height: 100%; z-index:10000; display: none;">

</div>
<div id="divinnerPopUp" class="modalPopupUpdateProgress" style="position:
absolute; left: 30%; top: 45%;position:absolute;display:none;z-index:12000;"
align="center">
<span class="bodytext_1">Please wait.... </span>
<img src="<%=strBrandPath%>images/indicator.gif" align="middle"
alt="" />
</div>

<ajaxToolkit:RoundedCornersExtender ID="RoundedCornersExtender1"
TargetControlID="divContact" runat="server" BehaviorID="rcb1"
Corners="All"></ajaxToolkit:RoundedCornersExtender>
</form>
<br /><iframe src="/aspx_omniture.asp?PageFrom=<
%=Convert.ToString(Request.ServerVariables["URL"])%>" style="height:1px;width:1px;"
frameborder="0"></iframe>
</body>
</html>

You might also like