//googletag.cmd.push () {googletag.display (‘Rectangle-1’);});
// $ ("#DVCONTENT> P: EQ (5)"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-2’);});
$ ("#dvContent"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-3’);});
}
else if (("#DVCONTENT> P"). LENGTH / 3> = 4 && $ ("#DVCONTENT> P").
//googletag.cmd.push () {googletag.display (‘Rectangle-1’);});
// $ ("#DVCONTENT> P: EQ (7)"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-2’);});
$ ("#dvContent"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-3’);});
}
else if (("#dvContent> p"). LENGTH / 3> = 5 && $ ("#dvContent> p").
//googletag.cmd.push () {googletag.display (‘Rectangle-1’);});
// $ ("#DVCONTENT> P: EQ (9)"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-2’);});
$ ("#dvContent"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-3’);});
}
else if (("#dvContent> p"). LENGTH / 3 P: EQ (1) "). After (" ");
//googletag.cmd.push () {googletag.display (‘Rectangle-1’);});
// $ ("#DVCONTENT> P: EQ (3)"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-2’);});
$ ("#dvContent"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-3’);});
}
else {
$ ("#DVCONTENT> P: EQ (6)"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-1’);});
// $ ("#DVCONTENT> P: EQ (12)"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-2’);});
$ ("#dvContent"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-3’);});
}
}
else {
$ ("#dvContent"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-1’);});
// $ ("#dvContent"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-2’);});
// $ ("#dvContent"). After ("");
//googletag.cmd.push () {googletag.display (‘Rectangle-3’);});
}
}
if (‘false’ == ‘true’) {
$ (‘. rsrch_img’). Bind (‘ContextMenu’, Function (E) {
Return false;
});
}
|| ‘912327150’ == ‘912355819’ || ‘912327150’ == ‘912354530’ || ‘912327150’ == ‘912356329 ‘||’ 912327150 ‘==’ 912356335 ‘) {
$ (‘. HomepagerightSection’). Hide ();
$ (‘. HomePageleftSection’). CSS ({width: ‘100%’});
$ (‘#DVCONTENT Img’). CSS (‘Width’, ‘100%’);
}
$ .get (‘/Home/getReadersPollForPagePage’, {Articleid: ‘912327150’}, Function (Response) {
var options = "";
if (Response! = Null && Response.Length> 0 &&! Response [0] .salreadyanswed) {
$ (‘#POLLQUESTION’). Text (response [0] .question);
$ .Each (Response, Function (INDEX, OBJ) {{
options = options + " + obj.Optiontext +" firstlinetop;
}). hide ();
$ (‘. Sharelist .tags: Visible: last’). Hide ();
}
Function FNEMAILTOFRIEND (Articleid) {
var articleurl = window.location.href;
Var Tempurl = ‘/Article/Emailtofriend? Articleid = Articleid & Articleurl = Articleurl’;
var url = testurl.replace ("Articleid", Articleid) .Replace ("Article", ArticleURL);
Url = url.replace ("&", "&"). Replace ("&", "&"). Replace ("&", "&");
$. FancyBox ({
href: url,
’padding’: 30,
’height’: 480,
’width’: 700,
’AutoSize’: False,
’AutoScale’: True,
’CLOSEBTN’: True,
’Showclosebutton’: true,
’transitionin’: ‘fade’,
’transitionout’: ‘fade’,
’Type’: ‘iframe’,
’padding’: 10,
HideonoverLayClick: false,
helpers: {{
overlay: {
closeClick: false
}
}
});
}
Function FnupDateARTICLEVIEWCOUNT () {) {) {
$ .ajax ({{
url: ‘/Article/UpdateViewCount’,
datatype: ‘json’,
data: {Articleid: 912327150},
Success: Function (data) {
}
});
}
Function FNSHOWNONUSERARTICCESSSSAGE () {
$ .ajax ({{
url: ‘/Article/ShowerArticle’,
cache: false,
async: false,
Success: Function (Response) {
If (Response! = NULL && Response! = Undefined & & Response.ViewCount! = Null && Response.ViewCount! = Undefined) {
if (response.isuserLoggedin == false && (response.ViewCount == 2)) {) {) {) {) {) {)
// FNSHOWARTICLEPOPUP (‘912327150’);
}
}
}
});
}
Function FNSHOWARTICLEPOPUP () {) {)
$. FancyBox ({
’padding’: 5,
’height’: 300,
’width’: 700,
Type: ‘iframe’,
href: ‘/Article/GUESTUSERARTICCESSSSSSSSPUP? Articleid = 912327150’,
AutoSize: False,
closebtn: true,
Transitionin: ‘FADE’,
transitionout: ‘fade’,
Centeronscroll: true,
overlayOPACITY: 0.2,
overlayColor: ‘#666’,
helpers: {{
overlay: {
closeClick: false
}
}
});
$ (‘. FancyBox-WRAP’). CSS ({‘Top’: ‘: 100px’, ‘Bottom’: ‘Auto’});
}
$ (". Fancybox"). FancyBox ({{
OpenEffect: ‘Elastic’,
Closeeffect: ‘Elastic’,
Preveffect: ‘FADE’,
nextEffect: ‘FADE’,
FittoView: False, // Images WON’T BE Scaled to Fit to Browser’s Height
maxwidth: "90%", // Images WON’T Exceeed The Browser’s Width
helpers: {{
overlay: {
locked: false
}
},
Beforeshow: Function () {
if (‘false’ == ‘true’) {
/ * Disable Right Click */
$ .fancybox.wrap.bind ("ContextMenu", Function (E) {
Return false;
});
}
}
});
Function fnsubmittregizationPopup () {
var isValid = true;
if (‘#txtFirstname’). Val (). trim () == "")
{{
isValid = false;
$ (‘#txtFirstname’). CSS (‘Border-COLOR’, ‘Red’);
}
else if ($ (‘#txtlastname’). Val (). trim () == "") {
isValid = false;
$ (‘#txtlastname’). css (‘border-color’, ‘red’);
}
else if ($ (‘#txtemail’). Val (). trim () == "") {
isValid = false;
$ (‘#txtemail’). css (‘border-color’, ‘red’);
}
else if (‘#txtCompanyname’). value
isValid = false;
$ (‘#txtCompanyname’). CSS (‘Border-COLOR’, ‘Red’);
}
else if ($ (‘#ddljobfunction’). Val (). trim () == ‘0’) {
isValid = false;
$ (‘#lbljobfunctionRequired’). Show ();
}
else if ("#DDLBUSINDISTRY"). Val (). trim () == ‘0’) {
isValid = false;
$;
}
if ($ (‘#txtemail’). Val (). trim ()! = "") {
var emailrex = /^((Wu))@([[0-9] {1,3}. [0-9] {1,3}. [0-9] {1,3}. [0-9] {1,3}]) | ([a-za-z-0-9]+.)+[a-za-z] {2,}) $/;
if (! Emailrex.test ($ (‘#txtemail’). value) {{
isValid = false;
$ (‘#lbinvalidemail’). show ();
}
else {
$ (‘#lbinvalidemail’). Hide ();
}
}
if (ISVALID) {
$ .post (
’/Article/RegistrationPopup’,
{{
firstName: $ (‘#txtFirstname’). Val (). Trim (),
lastname: $ (‘#txtlastname’). Val (). trim (),
email: $ (‘#tXTemail’). Val (). trim (),
companyName: $ (‘#txtCompanyname’). Val (). Trim (),
jobfunction: $ (‘#ddljobfunction’). Val (). Trim (),
BusinessIndustry: $ ("#DDLBUSINDUSTRY"). Val (). Trim ()
},
Function (response) {
if (response) {
$ (‘#dvregpopup’). Hide ();
}
}
);
}
}
Function fnCloseRegpopup () {
$ .post (‘/Article/UpdatepopupClosecount’, Function () {
$ (‘#dvregpopup’). Hide ();
});
}
Function FnansworkReaderPoll () {{) {
if ($ (‘input [name = rdopolLoptions]: checked’). Length> 0) {
$ (‘#btnpollanser’). Attr ("OnClick", "") .unbind ("Click");
$ (‘#lblpollrequired’). Hide ();
$ .post (‘/Home/ANSWERREADERPOLL’, {
questionid: $ (‘#hdnpollquestionid’). Val (),
optionid: $ (‘input [name = rdopolloptions]: checked’). Val (),
Answer: $ (‘input [name = rdopolloptions]: Checked’). Attr (‘Answer’),
Page: ‘Article’,
Articleid: ‘912327150’
}, function (response) {
if (response.status) {
Debugger;
// $ (‘#POLLQUESTION’). Hide ();
$ (‘#POLLOUUN’). Hide ();
$ (‘#btnpollanser’). Hide ();
// $ (‘#lblpollsuccessMessage’). show ();
var html = "";
$ .Each (Response.Pollresult, Function (Index, OBJ) {
html = html + "" + Obj.Optiontext + "" + Obj.pollpercentage + Inject MOLD MANUFACTURERER "%" + "