bail-project-raw-data / hc_bulk /IPC_112025526.html
anabaena's picture
Upload folder using huggingface_hub
a4ffcf6 verified
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link type="text/css" href="/static/js/jquery-ui-1.13.2/jquery-ui.min.css" rel="stylesheet">
<link type="text/css" href="/static/js/jquery-ui-1.13.2/jquery-ui.theme.min.css" rel="stylesheet">
<link type="text/css" href="/static/footer.css" rel="stylesheet">
<link type="text/css" href="/static/print.css" rel="stylesheet">
<LINK REL="stylesheet" TYPE="text/css" HREF="/static/search_desktop_v20.css?v=20241118-1">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HML2J37TKY"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-HML2J37TKY');
</script>
<TITLE>Parveen Bhatia And Others vs State Of Punjab And Another on 31 October, 2012</TITLE>
</head>
<body class="">
<!-- Skip link for keyboard and screen reader users -->
<a href="#main-content" class="skip-link">Skip to main content</a>
<header class="main-header" role="banner">
<h1 class="sr-only">Indian Kanoon - Search engine for Indian Law</h1>
<div class="header-container">
<!-- Left: Logo (hidden on homepage) -->
<div class="header-logo">
<a href="/" aria-label="Indian Kanoon Home">
<img src="/static/pics/ikanoon7_large.png" alt="Indian Kanoon" class="header-logo-img">
</a>
</div>
<!-- Center: Search Bar (hidden on homepage and search page) -->
<div class="header-search" role="search">
<h2 class="sr-only">Search</h2>
<form method="GET" action="/search/" class="search-form">
<label for="header-search-box" class="sr-only">Search Indian laws and judgments</label>
<input type="text" name="formInput" class="searchbox" id="header-search-box"
placeholder="Search laws, court judgments and everything else ..."
value="bail IPC doctypes: highcourts" autocomplete="off">
<input type="submit" value="Search" class="submitbutton header-submitbutton" id="header-submit-button">
</form>
</div>
<!-- Right: Navigation -->
<div class="header-nav">
<!-- Desktop Navigation -->
<nav class="nav-desktop" aria-label="Main navigation">
<h2 class="sr-only">Main Navigation</h2>
<a href="/free_features/" class="nav-link">Free features</a>
<div class="premium-dropdown">
<button class="nav-link premium-dropdown-btn" id="premium-dropdown-btn" aria-expanded="false" aria-controls="premium-dropdown-menu" aria-haspopup="true">
Premium
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<polyline points="3 4.5 6 7.5 9 4.5"></polyline>
</svg>
</button>
<div class="premium-dropdown-menu" id="premium-dropdown-menu" role="menu" aria-hidden="true">
<a href="/premium/" class="premium-dropdown-item" role="menuitem">Premium features</a>
</div>
</div>
<a href="/prism/" class="nav-link brand-prism">Prism AI</a>
<a href="/prism/pricing" class="nav-link">Pricing</a>
<a href="/members/login/" class="nav-link">Login</a>
</nav>
<!-- Mobile Menu Button -->
<button class="mobile-menu-btn" id="mobile-menu-btn" aria-label="Open mobile menu" aria-expanded="false" aria-controls="mobile-menu">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</button>
</div>
</div>
<!-- Mobile Menu (hidden by default) -->
<nav class="mobile-menu" id="mobile-menu" aria-label="Mobile navigation" aria-hidden="true">
<h2 class="sr-only">Mobile Navigation</h2>
<div class="mobile-menu-content">
<a href="/free_features/" class="mobile-nav-link">Free features</a>
<div class="premium-dropdown mobile">
<div class="mobile-nav-link premium-dropdown-header">Premium</div>
<a href="/premium/" class="mobile-nav-link premium-dropdown-item">Premium features</a>
</div>
<a href="/prism/" class="mobile-nav-link brand-prism">Prism AI</a>
<a href="/prism/pricing" class="mobile-nav-link">Pricing</a>
<a href="/members/login/" class="mobile-nav-link">Login</a>
</div>
</nav>
</header>
<main id="main-content" role="main">
<div class="info_all" role="region" aria-label="Information content">
<article class="info_indian_kanoon">
<h2 class="sr-only">Document Fragment View</h2>
<header class="docfragment_header" role="banner">
<div class="docfragment_info">
<h3 class="sr-only">Fragment Information</h3>
<span class="docfragment_label" id="context-label">Showing contexts for:</span>
<span class="docfragment_query" aria-labelledby="context-label">bail IPC </span>
<span class="docfragment_in">in</span>
<a href="/doc/112025526/" class="docfragment_title_link" aria-label="View full document: Parveen Bhatia And Others vs State Of Punjab And Another on 31 October, 2012">Parveen Bhatia And Others vs State Of Punjab And Another on 31 October, 2012</a>
</div>
<nav class="change_context" aria-label="Context size options">
<h4 class="sr-only">Context Size Options</h4>
<span class="change_context_label" id="context-size-label">Context size:</span>
<div class="context_buttons" role="group" aria-labelledby="context-size-label">
<form method="GET" action="/docfragment/112025526/" class="context_button_form">
<input type="hidden" name="big" value="0"/>
<input type="hidden" name="formInput" value="bail IPC doctypes: highcourts"/>
<button type="submit" class="context_button" aria-label="Change to Small context size">Small</button>
</form>
<span class="context_button context_button_active" aria-current="true" aria-label="Current context size, currently selected">Current</span>
<form method="GET" action="/docfragment/112025526/" class="context_button_form">
<input type="hidden" name="big" value="2"/>
<input type="hidden" name="formInput" value="bail IPC doctypes: highcourts"/>
<button type="submit" class="context_button" aria-label="Change to Large context size">Large</button>
</form>
<form method="GET" action="/docfragment/112025526/" class="context_button_form">
<input type="hidden" name="big" value="3"/>
<input type="hidden" name="formInput" value="bail IPC doctypes: highcourts"/>
<button type="submit" class="context_button" aria-label="Change to Larger context size">Larger</button>
</form>
</div>
</nav>
</header>
<article class="expanded_headline" role="article" aria-label="Document fragments matching your search">
<h3 class="sr-only">Matching Fragments</h3>
<section class="fragment">
<p data-structure="Facts" id="p_12"> It is alleged by the petitioners that after the passing of the
order dated 24.2.2003 (Annexure P-1) by the Supreme Court, the complainant
got another police report (challan) filed before the learned Chief Judicial
Magistrate, Jhansi and also got non-<b><b>bail</b></b>able warrants of the petitioners issued
with some obvious motive which are reflected from the events. The petitioners
then apprehending their arrest because of non-<b><b>bail</b></b>able warrants being issued
filed Criminal Misc No. M-15001 of 2003 in this Court on 5.4.2003 for the
grant of pre-arrest <b><b>bail</b></b> under the amended and altered/added Sections of FIR
No.303 dated 13.11.2001 (Annexure P-3) registered at Police Station Kotwali
Jhansi (U.P.). It was contended on behalf of the petitioners that their arrest had
already been stayed by this Court vide order dated 8.1.2002 in FIR No.303
dated 13.11.2001 (Annexure P-3) under <a href="/doc/988620/" id="a_34">Sections 406</a>, <a href="/doc/556166/" id="a_35">468</a> and <a href="/doc/1466184/" id="a_36">471</a> IPC but
later the offences had been changed to <a href="/doc/1326844/" id="a_37">Sections 409</a>, <a href="/doc/1985627/" id="a_38">467</a>, <a href="/doc/556166/" id="a_39">468</a> and <a href="/doc/1897847/" id="a_40">120 B </a>IPC
and they are again being threatened to be arrested. Notice of motion was issued
vide order dated 8.4.2003 for 8.7.2003 and meanwhile, the arrest of the
petitioners was stayed in respect of the newly added offence. The Complainant
Criminal Misc. No. M-71250 of 2005 (O&amp;M) and
(respondent No.2) filed Criminal Misc No.20311 of 2003 in Criminal Misc
No.M-15001 of 2003 for vacating the interim order dated 8.4.2003 passed by
this Court whereby the arrest of the petitioners had been stayed. It was inter
alia submitted that the prayer in the said petition gave an impression as if the
petitioners had been earlier granted the concession of anticipatory <b><b>bail</b></b> in FIR
No.303 dated 13.11.2001 (Annexure P3) registered at Police Station Kotwali
Jhansi for the offences under <a href="/doc/988620/" id="a_41">Sections 406</a>, <a href="/doc/556166/" id="a_42">468</a> and <a href="/doc/1466184/" id="a_43">471</a> IPC and they were
now seeking the concession to be extended only in view of the newly added
Sections to the said FIR i.e. <a href="/doc/1326844/" id="a_44">Sections 409</a>, <a href="/doc/1985627/" id="a_45">467</a>, <a href="/doc/556166/" id="a_46">468</a> and <a href="/doc/1897847/" id="a_47">120-B</a> IPC. Therefore,
the petitioners had given false impression that they were earlier granted
anticipatory <b><b>bail</b></b>. Notice in Criminal Misc No.20311 of 2003 was issued to the
petitioners through their counsel on 13.5.2003 for the date already fixed i.e.
8.7.2003. On 8.7.2003 the interim order was ordered to continue. Thereafter,
it was adjourned from time to time. On 22.9.2003 this Court inter alia
observed that stay had been granted to the petitioners in Criminal Misc No.M-
823 of 2002 vide order dated 8.1.2002. The said petition was for quashing FIR
No.303 dated 13.11.2001 (Annexure P3) registered at Police Station Kotwali,
Jhansi (U.P.). Criminal Misc No. M-823 of 2002 was decided by this Court
vide order dated 29.5.2002. The stay of arrest granted to the petitioners on
8.1.2002 it is alleged became a part and parcel of the final order.
</p>
</section>
<section class="fragment">
<p data-structure="PetArg" id="p_13"> The petitioners filed Criminal Misc No. M-15001 of 2003 under
Criminal Misc. No. M-71250 of 2005 (O&amp;M) and
<a href="/doc/1783708/" id="a_48">Section 438</a> of the <b><b>Code</b></b> of Criminal Procedure. This Court vide its order dated
8.4.2003 passed an order; "meanwhile arrest of the petitioners is also stayed
under the newly added offences". The newly added offences in terms of order
dated 8.4.2003 would be <a href="/doc/1326844/" id="a_49">Sections 409</a>, <a href="/doc/1985627/" id="a_50">467</a>, <a href="/doc/556166/" id="a_51">468</a> and <a href="/doc/1897847/" id="a_52">120-B</a> IPC. <b><b>Bail</b></b> as per
the said order had not been granted to the petitioners under <a href="/doc/556166/" id="a_53">Sections 468</a> and
<a href="/doc/1466184/" id="a_54">471</a> IPC. The case was adjourned to 26.9.2003. Thereafter, it was again
adjourned from time to time. The case was then taken up on 20.7.2004 on
which date none appeared for the petitioners. It was observed that on
20.2.2004 no one was present on behalf of the petitioners and even on the said
date i.e. 20.7.2004, no one was present on their behalf. The case was
adjourned to 26.7.2004. The interim order dated 8.4.2003 was, however,
vacated. On 26.7.2004 this Court observed that it was informed that
proceedings in case FIR No.303 dated 13.11.2001 (Annexure P3) had since
been transferred to Chandigarh vide order passed by the Supreme Court on
24.2.2003 (Annexure P1). In view of the said position, notice of the petition
for anticipatory <b><b>bail</b></b> was issued to the Standing Counsel for UT, Chandigarh for
20.8.2004. At the said stage it was submitted by Counsel for the petitioners
that due to his non-appearance on 20.7.2004, the interim order dated 8.4.2003
by which arrest of the petitioners was stayed had been vacated. He further
contended that till then the petitioners were apprehending arrest. Therefore,
their arrest may be stayed. In view of the said position, the arrest of the
Criminal Misc. No. M-71250 of 2005 (O&amp;M) and
petitioners was ordered to be stayed till the next date of hearing. On 20.8.2004
on the request of the learned Counsel for UT Administration, Chandigarh, the
case was adjourned to 1.10.2004 and interim order dated 26.7.2004 was
ordered to continue. On 1.10.2004 learned Counsel for the respondent-UT
Administration, Chandigarh submitted that case file had not been received
from Jhansi. Therefore, without the police file he could not properly assist this
Court and sought an adjournment to await the police file, which was likely to
be received very soon by the department. The case was adjourned to
2.11.2004. On the said date, the case was adjourned to 18.1.2005 and the
interim order was ordered to continue. Thereafter, it was again adjourned for
some dates. It was then taken up on 25.2.2005. On the said date, learned
counsel appearing for the State of Punjab on instructions submitted that the
custody of the petitioners was not required for the purposes of investigation.
Learned counsel for the UT Administration Chandigarh also submitted that the
custody of the petitioners was not required for the purposes of investigation.
Learned counsel appearing for the petitioners and learned counsel appearing
for the Complainant were in agreement that the proceedings had been
transferred from the Supreme Court of India vide order dated 24.2.2003
(Annexure P1) and that the challan in the case had been filed. <span class="citetext" data-docid="1753926" data-sentiment="Pos" id="span_17">They were also
ad idem that the arrest of the petitioners was initially stayed by this Court on
8.4.2003 and thereafter, it was continuing. Learned counsel for the
Criminal Misc. No. M-71250 of 2005 (O&amp;M) and
Complainant, however, contended that the said order i.e. the order dated
8.4.2003 had been obtained by misrepresentation. It was observed by this
Court that keeping in view the fact that the custody of the petitioners was not
required for the purposes of investigation, it would be just and expedient to
extend the period of interim <b><b>bail</b></b> for a period of one month to enable the
petitioners to approach the Court concerned to seek regular <b><b>bail</b></b> in terms of
<a href="/doc/1290514/" id="a_55">Section 439</a> CrPC in the light of the observations of the Hon'ble Supreme
Court in <a href="/doc/1753926/" id="a_56">Sunita Devi v. State of Bihar</a>, (2005) 1 SCC 608. The petitioners
were accordingly granted one month's time to apply for regular <b><b>bail</b></b> after
surrendering before the Court concerned. In the circumstances, no opinion on
the merits of the case was expressed and the Court concerned was ordered to
deal with the application for regular <b><b>bail</b></b> in accordance with law. The Criminal
Misc. petition was disposed of. In the order instead of mentioning the date as
25.2.2005 it was inadvertently mentioned as 25.2.2004. Accordingly Criminal
Misc. No. 16218-19 of 2005 was filed for correction of the date of order on the
certified copy; besides, a further request was made to issue clarification
regarding the concerned Court in view of the facts and circumstances of the
case. In terms of order dated 24.3.2005, the date of the order was corrected to
that of 25.2.2005 instead of 25.2.2004 being a clerical mistake. The Registry
was asked to issue a fresh copy of the order. Besides, the petitioners were
granted one month's more time from the date of preparation of the copy of the
Criminal Misc. No. M-71250 of 2005 (O&amp;M) and
order to apply for regular <b><b>bail</b></b> after surrendering before the Court concerned.
Insofar as the clarification regarding the Court concerned, this Court was of the
view that no clarification was required. Criminal Misc. Nos.16218-19 of 2005
were disposed of accordingly. Another Criminal Misc. No.17517-18 of 2005
was filed by the Complainant also for correcting the date of order, which was
also allowed on 25.4.2005.</span>
</p>
</section>
<section class="fragment">
<p data-structure="Precedent" id="p_29"> As regards the conduct of the petitioners, it may be noticed that
they had filed Crl. Misc. petitions in pending petitions seeking stay of
Criminal Misc. No. M-71250 of 2005 (O&amp;M) and
execution of non-<b><b>bail</b></b>able warrants or for grant of pre-arrest <b><b>bail</b></b>. Filing of Crl.
Misc. petitions in an already disposed of matter are to be deprecated. The
petitioners were liable to file fresh petitions. However, in this regard the
petitioners by themselves cannot be faulted and it was for their counsel to take
legal remedies as permissible under the law. The Complainant it may be
noticed has alleged that the petitioners deliberately filed an application for
regular <b><b>bail</b></b> in the Court of Sessions at Chandigarh instead of filing it in the
Court of Chief Judicial Magistrate, Chandigarh. The learned Counsel for the
Complainant has referred to the case of Ramji v. State of Punjab (Supra) to
contend that a Magistrate trying an offence punishable with imprisonment for
life is competent to grant <b><b>bail</b></b> to an accused under <a href="/doc/848468/" id="a_110">Section 437</a> CrPC. It was
further held that Magistrate Ist Class will not, however, be competent to grant
<b><b>bail</b></b> in an offence which is punishable alternatively with death or imprisonment
for life. Learned counsel for the Complainant also referred to the case of
Ashireddyeari Narasimhareddy v. State of Andhra Pradesh (Supra) wherein the
Hon'ble Andhra Pradesh High Court has held that a Magistrate has power to
grant <b><b>bail</b></b> to an accused who is involved in an offence punishable with life
imprisonment even if the offence is exclusively triable by the Court of
Sessions. The prohibition it was held is where the sentence prescribed in the
Act is either death alternatively imprisonment for life. In the said case, the
accused was on anticipatory <b><b>bail</b></b> in respect of an offence under Section 307
Criminal Misc. No. M-71250 of 2005 (O&amp;M) and
<a href="/doc/1569253/" id="a_111">IPC</a> which is punishable with life imprisonment. The chargesheet was
submitted before the Magistrate and it was held that the Magistrate was
competent to grant <b><b>bail</b></b> even if the case is exclusively triable by the Court of
Sessions. A perusal of the said two judgments indeed show that the Magistrate
is competent to grant <b><b>bail</b></b> in a case which is triable by it even if the same
entails punishment for life imprisonment. <span class="citetext" data-docid="1046959" data-sentiment="Pos" id="span_63">However, this Court in <a href="/doc/1046959/" id="a_112">Prithvi Raj
v. State of Punjab</a>, 1998 (3) RCR (Crl.) 104 observed that it was
inappropriate for a Judicial Magistrate Ist Class to grant <b><b>bail</b></b> for an offence
under <a href="/doc/1326844/" id="a_113">Section 409</a> IPC punishable with imprisonment for life. The matter in
the said case was referred to the Inspecting Judge for considering the propriety
to initiate departmental action against the Judicial Magistrate who had granted
anticipatory <b><b>bail</b></b>.</span> <span class="citetext" data-docid="1067439" data-sentiment="Pos" id="span_64">The Hon'ble Supreme Court in <a href="/doc/1067439/" id="a_114">Prahlad Singh Bhati v.
NCT, Delhi and another</a>, (2001) 4 SCC 280 considered the powers of
Magistrate while dealing with an application for grant of <b><b>bail</b></b>. It was held that
these are regulated by the punishment prescribed for the offence in which the
<b><b>bail</b></b> is sought. Generally speaking if punishment prescribed for imprisonment
for life and death <b><b>penal</b></b>ty and the offences exclusively triable by the Court of
Sessions, the Magistrate has no jurisdiction to grant <b><b>bail</b></b> unless the matter is
covered by the proviso attached to <a href="/doc/848468/" id="a_115">Section 437</a> CrPC. Therefore, it was for the
petitioners to urge before the learned Additional Sessions Judge, Chandigarh
that a Chief Judicial Magistrate may not entertain an application for regular
Criminal Misc. No. M-71250 of 2005 (O&amp;M) and
<b><b>bail</b></b> as the offence under <a href="/doc/1326844/" id="a_116">Section 409</a> IPC for which the petitioners had been
challaned was punishable with imprisonment for life and the Magistrate may
have declined to entertain such an application. In the circumstances, it cannot
be said that the conduct of the petitioners in approaching the Sessions Judge,
Chandigarh for the grant of regular <b><b>bail</b></b> being the Court concerned for grant of
such <b><b>bail</b></b> was inappropriate. Therefore, nothing can be said as regards the
conduct of the appellants insofar as their approaching the Sessions Court at
Chandigarh for the grant of regular <b><b>bail</b></b> is concerned as that in fact may have
been the concerned Court. This aspect is not now to be gone into as the
anticipatory <b><b>bail</b></b> has been considered on merit and keeping in view the nature
of accusation the evidence that is on record and the fact that even civil
litigations are pending between parties for the same circumstances, it would be
just and expedient to grant them pre-arrest <b><b>bail</b></b>.</span> <span class="citetext" data-docid="180137109" data-sentiment="Pos" id="span_66">In <a href="/doc/180137109/" id="a_117">Manjit Singh Arora v.
U.T. Chandigarh</a>, 1997 (3) RCR (Crl.) 475, this Court considered a case
where allegations against the accused were that he cheated by
misrepresentation. A civil suit was filed by the accused for adjudication of
rights of the parties. It was held that filing of suit showed that the
complainant's rights had been challanged and anticipatory <b><b>bail</b></b> was granted.</span>
</p>
</section>
</article>
<div class="docfragment_research">
</div>
</article>
</div>
</main>
<footer class="homepage-footer">
<div class="homepage-footer-links">
<a href="/about.html">About</a>
<a href="/disclaimer.html">Disclaimer</a>
<a href="/privacy.html">Privacy Policy</a>
<a href="/members/terms/">Terms</a>
<a href="/court_case_online.html">Case Removal</a>
<a href="https://blog.indiankanoon.org">Blog</a>
<button id="share-url-btn" style="display: none;">Share URL</button>
<form method="post" action="/change_device/?device=mobile&amp;nextpage=/docfragment/112025526/%3FformInput%3Dbail%2520IPC%2520%2520doctypes%253A%2520highcourts" class="device-toggle">
<input type="hidden" name="csrfmiddlewaretoken" value="T3uQAUQCxAP5wwPyx6VpnHwln8SrLxDbP87yekylN5TbOa053SLm6IDcmIlHeLId">
<button type="submit">Mobile View</button>
</form>
</div>
</footer>
<script>
(function() {
const shareBtn = document.getElementById('share-url-btn');
if (navigator.share) {
shareBtn.style.display = 'inline-block';
shareBtn.addEventListener('click', async function() {
try {
await navigator.share({
title: document.title,
url: window.location.href
});
} catch (err) {
if (err.name !== 'AbortError') {
console.error('Error sharing:', err);
}
}
});
}
})();
</script>
<SCRIPT TYPE="text/javascript" SRC="/static/js/jquery-3.6.1.min.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="/static/js/jquery-ui-1.13.2/jquery-ui.min.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="/static/js/pylaw/utils_v13.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="/static/js/pylaw/share_url.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="/static/js/pylaw/dropdown.js"></SCRIPT>
<script type="text/javascript">
$(document).ready(function () {
$('.searchbox_top a').button();
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$('.searchbox_docfragment a').button();
});
</script>
<script type="text/javascript">
(function($) {
function ensureAutocompleteAvailable() {
if (!($.ui && $.ui.autocomplete)) {
throw new Error('jQuery UI Autocomplete plugin not loaded');
}
}
function overrideGlobalRenderer() {
$.ui.autocomplete.prototype._renderItem = function(ul, item) {
return $("<li></li>")
.append(
$("<div></div>")
.addClass("search-autocomplete-item-wrapper")
.html(item.label)
)
.appendTo(ul);
};
}
function attachAutocomplete($input) {
if (!$input.length) {
return;
}
var $form = $input.closest('form');
$input.autocomplete({
source: "/qsuggest/",
delay: 180,
minLength: 2,
appendTo: 'body',
position: {
my: "left top",
at: "left bottom+6",
collision: "flipfit"
},
classes: {
"ui-autocomplete": "search-autocomplete-list",
"ui-menu-item-wrapper": "search-autocomplete-item"
},
open: function() {
var $menu = $input.autocomplete('widget');
var offset = $input.offset();
$menu
.width($input.outerWidth())
.css({
left: offset.left,
top: offset.top + $input.outerHeight() + 6
});
$input.addClass('autocomplete-open');
},
close: function() {
$input.removeClass('autocomplete-open');
},
focus: function(event, ui) {
// Prevent the default text replacement while navigating suggestions
if (ui && ui.item) {
event.preventDefault();
}
},
select: function(event, ui) {
event.preventDefault();
if (ui && ui.item) {
$input.val(ui.item.value);
}
if ($form.length) {
$form.trigger('submit');
} else {
$('#search-form').trigger('submit');
}
}
});
}
$(document).ready(function() {
ensureAutocompleteAvailable();
overrideGlobalRenderer();
attachAutocomplete($("#search-box"));
attachAutocomplete($("#header-search-box"));
});
})(jQuery);
</script>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9c5696783bd359f0',t:'MTc2OTY2NzI0OQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body>
</html>