2009-03-05 17:58:16 +00:00
|
|
|
|
<script> if (!document.layers){ document.write('<div id="divStayTopLeft" style="position:absolute">'); } </script>
|
|
|
|
|
<layer id="divStayTopLeft">
|
|
|
|
|
<div style="float:left" id="my_menu" class="sdmenu"><img src="./img/logo_menu.gif" width="200" height="65"><div class="collapsed">
|
|
|
|
|
<span>RECHERCHES</span>
|
|
|
|
|
<a href="/?page=recherche&vue=ent">Rechercher une entreprise</a>
|
|
|
|
|
<a href="/?page=recherche&vue=dir">Rechercher par dirigeant</a>
|
2009-04-06 17:05:03 +00:00
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
if ($_SESSION['tabInfo']['login']=='mricois' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='mheitz' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='jmartory' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='ylenaour' ||
|
2009-04-21 16:34:02 +00:00
|
|
|
|
$_SESSION['tabInfo']['login']=='fzicaro' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='mcochet' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='olecce'
|
2009-04-06 17:05:03 +00:00
|
|
|
|
){
|
|
|
|
|
?>
|
|
|
|
|
<a href="/?page=international_recherche">Recherche Internationale</a>
|
2009-03-23 10:57:22 +00:00
|
|
|
|
<?php
|
2009-04-06 17:05:03 +00:00
|
|
|
|
}
|
2009-03-23 10:57:22 +00:00
|
|
|
|
if (isset($_SESSION['list_pre']) || $_SESSION['list_pre']!=''){
|
|
|
|
|
?>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<a href="/?page=recherche&vue=list_pre">Dernière recherche</a>
|
|
|
|
|
<?php
|
2009-03-23 10:57:22 +00:00
|
|
|
|
}else{
|
|
|
|
|
?>
|
|
|
|
|
<a href="#"><font color="Gray">Dernière recherche</font></a>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
2009-04-06 17:05:03 +00:00
|
|
|
|
if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits'])) {
|
2009-03-24 08:10:20 +00:00
|
|
|
|
if ($siret*1<>0) {
|
2009-03-05 17:58:16 +00:00
|
|
|
|
?>
|
|
|
|
|
<a href="<?=IPARI_URL?>?siret=<?=$siret?>" target="_blank">IparI ©</a>
|
2009-03-24 08:10:20 +00:00
|
|
|
|
<?php
|
|
|
|
|
}else{
|
|
|
|
|
?>
|
2009-04-02 09:46:46 +00:00
|
|
|
|
<a href="<?=IPARI_URL?>" target="_blank">IparI ©</a>
|
2009-03-24 08:10:20 +00:00
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
?>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsed">
|
|
|
|
|
|
|
|
|
|
<span>IDENTITE</span>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<? if ($siret*1==0 && $idEntreprise*1==0) {?>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<a href="#"><font color="Gray">Fiche d'identité</font></a>
|
|
|
|
|
<? } else { ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=identite&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Fiche d'identité</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? }
|
|
|
|
|
if ($siret*1<>0) {?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=etablissements&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liste des établissements</a>
|
|
|
|
|
<a href="/?page=liens&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liens inter-entreprises</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? } else { ?>
|
|
|
|
|
<a href="#"><font color="Gray">Liste des établissements</font></a>
|
|
|
|
|
<a href="#"><font color="Gray">Liens inter-entreprises</font></a>
|
|
|
|
|
<? }
|
|
|
|
|
|
|
|
|
|
if (preg_match('/EVENINSEE/i', $_SESSION['tabInfo']['droits'])) {
|
|
|
|
|
if ($siret*1<>0) { ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=evenements&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Modifications Insee</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? } else { ?>
|
|
|
|
|
<a href="#"><font color="Gray">Modifications Insee</font></a>
|
|
|
|
|
<?
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<!--Identite approfondie-->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="collapsed">
|
|
|
|
|
<span>DIRIGEANTS</span>
|
|
|
|
|
<? if ($siret*1<>0) {?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=dirigeants&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liste des dirigeants</a>
|
|
|
|
|
<a href="/?page=dirigeants&vue=histo&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Historique des dirigeants</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? } else { ?>
|
|
|
|
|
<a href="#"><font color="Gray">Liste des dirigeants</font></a>
|
|
|
|
|
<a href="#"><font color="Gray">Historique des dirigeants</font></a>
|
|
|
|
|
<? } ?>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="collapsed">
|
|
|
|
|
<span>ELEMENTS FINANCIERS</span>
|
|
|
|
|
<? if ($siret*1<>0) {?>
|
2009-03-31 12:39:18 +00:00
|
|
|
|
<a href="/?page=synthese&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Synth<EFBFBD>se</a>
|
2009-04-21 07:40:48 +00:00
|
|
|
|
<a href="/?page=bilans&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Bilans, Compte de r<EFBFBD>sultat</a>
|
2009-04-09 07:51:28 +00:00
|
|
|
|
<?php
|
|
|
|
|
if ($_SESSION['tabInfo']['login']=='mricois' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='mheitz' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='jmartory' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='ylenaour' ||
|
2009-04-15 07:01:31 +00:00
|
|
|
|
$_SESSION['tabInfo']['login']=='fzicaro' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='mcochet' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='olecce' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='reunicacsf' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='testreunica'
|
2009-04-09 07:51:28 +00:00
|
|
|
|
){
|
|
|
|
|
?>
|
|
|
|
|
<a href="/?page=ratios&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Ratios</a>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=liasse&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liasse fiscale</a>
|
|
|
|
|
<a href="/?page=bourse&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Bourse & Cotations</a>
|
2009-04-09 07:51:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
} else {
|
|
|
|
|
?>
|
2009-03-31 12:39:18 +00:00
|
|
|
|
<a href="#"><font color="Gray">Synth<EFBFBD>se</font></a>
|
|
|
|
|
<a href="#"><font color="Gray">Bilans, Compte de r<EFBFBD>sultat</font></a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<a href="#"><font color="Gray">Liasse fiscale</font></a>
|
|
|
|
|
<a href="#"><font color="Gray">Bourse & Cotations</font></a>
|
2009-03-31 12:39:18 +00:00
|
|
|
|
<? } ?>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="collapsed">
|
|
|
|
|
<span>ELEMENTS JURIDIQUES</span>
|
|
|
|
|
<?
|
|
|
|
|
if ($siret*1==0) {
|
|
|
|
|
$source=$_SESSION['tabInfo']['entrep']['Source'];
|
|
|
|
|
$sourceId=$_SESSION['tabInfo']['entrep']['SourceId'];
|
|
|
|
|
|
2009-03-11 07:51:18 +00:00
|
|
|
|
if(!isset($idEntreprise) || $idEntreprise==0){
|
2009-03-05 17:58:16 +00:00
|
|
|
|
?>
|
|
|
|
|
<a href="#"><font color="Gray">Annonces Légales</font></a>
|
|
|
|
|
<?php
|
|
|
|
|
}else{
|
|
|
|
|
?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=annonces&idEntreprise=<?=$idEntreprise?>&idan=<?=$sourceId?>&siret=<?=$siret?>&source=<?=$source?>">Annonces Légales</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<? }else if ($siret*1<>0) { ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=annonces&siret=<?=$siret?>&source=<?=$source?>&idEntreprise=<?=$idEntreprise?>">Annonces Légales</a>
|
|
|
|
|
<a href="/?page=infosreg&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Information Règlementée</a>
|
|
|
|
|
<a href="/?page=competences&siret=<?=$siret?>&codcom=<?=$tabEntrep['codeCommune']?>&vue=tous&idEntreprise=<?=$idEntreprise?>">Compétences Territoriales</a>
|
|
|
|
|
<a href="/?page=conventions&siret=<?=$siret?>&codcom=<?=$tabEntrep['codeCommune']?>&nafEn=<?=$tabEntrep['nafEn']?>&nafEt=<?=$tabEntrep['nafEt']?>&idEntreprise=<?=$idEntreprise?>">Conventions collectives</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? } else { ?>
|
|
|
|
|
<a href="#"><font color="Gray">Information Règlementée</font></a>
|
|
|
|
|
<a href="#"><font color="Gray">Compétences Territoriales</font></a>
|
|
|
|
|
<a href="#"><font color="Gray">Conventions collectives</font></a>
|
|
|
|
|
<? }
|
|
|
|
|
|
|
|
|
|
if (preg_match('/MARQUES/i', $_SESSION['tabInfo']['droits'])) {
|
|
|
|
|
if ($siret*1<>0) { ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=marques&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Marques déposées</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? } else { ?>
|
|
|
|
|
<a href="#"><font color="Gray">Marques déposées</font></a>
|
|
|
|
|
<?
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsed">
|
|
|
|
|
|
|
|
|
|
<span>EVALUATION</span>
|
|
|
|
|
<? if ($siret*1<>0) {?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=indiscore&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">indiScore ©</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? if ($_SESSION['tabInfo']['login']=='reunicacsf' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='testreunica' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='ylenaour' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='mheitz' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='mricois' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='jmartory' ) { ?>
|
|
|
|
|
<a href="#"><font color="Gray">indiScore + ©</font></a>
|
|
|
|
|
<? if (preg_match('/scorecsf/i', $_SESSION['tabInfo']['droits'])) { ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=scorescf&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">scoring Credit Safe ©</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? }
|
|
|
|
|
}
|
|
|
|
|
} else { ?>
|
|
|
|
|
<a href="#"><font color="Gray">indiScore ©</font></a>
|
|
|
|
|
<? if ($_SESSION['tabInfo']['login']=='reunicacsf' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='testreunica' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='ylenaour' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='mheitz' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='mricois' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='jmartory' ) { ?>
|
|
|
|
|
<a href="#"><font color="Gray">indiScore + ©</font></a>
|
|
|
|
|
<? if (preg_match('/scorecsf/i', $_SESSION['tabInfo']['droits'])) { ?>
|
|
|
|
|
<a href="#"><font color="Gray">scoring Credit Safe ©</font></a>
|
|
|
|
|
<? }
|
|
|
|
|
}
|
|
|
|
|
} ?>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="collapsed">
|
|
|
|
|
<span>PIECES OFFICIELLES</span>
|
|
|
|
|
<? if ($siret*1<>0) {
|
2009-04-02 15:09:39 +00:00
|
|
|
|
if (preg_match('/KBIS/i', $_SESSION['tabInfo']['droits']) || $_SESSION['tabInfo']['login']=='mricois') {
|
2009-03-05 17:58:16 +00:00
|
|
|
|
?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=kbis&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">K-Bis</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<?
|
|
|
|
|
} ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=greffes&vue=bilans&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Comptes annuels</a>
|
|
|
|
|
<a href="/?page=greffes&vue=actes&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Actes & Statuts</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? } elseif ($siret==0) {
|
|
|
|
|
$source=$_SESSION['tabInfo']['entrep']['Source'];
|
|
|
|
|
$sourceId=$_SESSION['tabInfo']['entrep']['SourceId'];
|
|
|
|
|
if (preg_match('/KBIS/i', $_SESSION['tabInfo']['droits'])) { ?>
|
|
|
|
|
<a href="#"><font color="Gray">K-Bis</font></a>
|
|
|
|
|
<? } ?>
|
|
|
|
|
<a href="#"><font color="Gray">Comptes annuels</font></a>
|
|
|
|
|
<?php
|
2009-03-11 07:51:18 +00:00
|
|
|
|
if(!isset($idEntreprise) || $idEntreprise==0){
|
2009-03-05 17:58:16 +00:00
|
|
|
|
?>
|
|
|
|
|
<a href="#"><font color="Gray">Actes & Status</font></a>
|
|
|
|
|
<?php
|
|
|
|
|
}else{
|
|
|
|
|
?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=greffes&vue=actes&idEntreprise=<?=$idEntreprise?>&idan=<?=$sourceId?>&siret=<?=$siret?>&source=<?=$source?>">Actes & Statuts</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<? } else {
|
|
|
|
|
if (preg_match('/KBIS/i', $_SESSION['tabInfo']['droits'])) { ?>
|
|
|
|
|
<a href="#"><font color="Gray">K-Bis</font></a>
|
|
|
|
|
<? } ?>
|
|
|
|
|
<a href="#"><font color="Gray">Comptes annuels</font></a>
|
|
|
|
|
<a href="#"><font color="Gray">Actes & Statuts</font></a>
|
|
|
|
|
<? } ?>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsed">
|
|
|
|
|
<span>OPTIONS</span>
|
|
|
|
|
<? if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats' ) { ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=moncompte&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Mes options</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? }
|
|
|
|
|
if ($_SESSION['tabInfo']['profil']=='Administrateur') {
|
|
|
|
|
if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats' ) { ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=administration&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Administration</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? }
|
|
|
|
|
if ($_SESSION['tabInfo']['login']=='ylenaour' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='mheitz' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='jmartory' ||
|
|
|
|
|
$_SESSION['tabInfo']['login']=='reunicastats' ) { ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=stats&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Statistiques</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (substr( $_SESSION['tabInfo']['login'],0,6)=='cnasea' ) { ?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<a href="/?page=survliste&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Surveillances</a>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
<? }
|
|
|
|
|
?>
|
|
|
|
|
<a href="/?page=main&action=logout">Se déconnecter</a>
|
|
|
|
|
</div>
|
2009-03-09 14:23:25 +00:00
|
|
|
|
|
2009-03-06 16:26:26 +00:00
|
|
|
|
<?php
|
|
|
|
|
//Ajout des param<61>tres optionnelles pour la page recherche (lors de la premi<6D>re recherche)
|
2009-03-06 17:12:26 +00:00
|
|
|
|
if ($page=='recherche'){
|
|
|
|
|
if ($_REQUEST['vue']=='list' ) $_SERVER['QUERY_STRING'] = str_replace('vue=list', 'vue=list_pre', $_SERVER['QUERY_STRING']);
|
2009-03-06 16:26:26 +00:00
|
|
|
|
}
|
|
|
|
|
?>
|
2009-03-09 14:23:25 +00:00
|
|
|
|
<span> </span>
|
|
|
|
|
<center>
|
2009-03-20 14:44:33 +00:00
|
|
|
|
<?php
|
|
|
|
|
$printUrl = $_SERVER['QUERY_STRING'];
|
|
|
|
|
if ($page=='bilans' && isset($_REQUEST['type']) && $_REQUEST['type']!=''){
|
|
|
|
|
$printUrl.= '&type='.$_REQUEST['type'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
<a href="/?<?=$printUrl;?>&sortie=prt" alt="Impression" target="_blank">
|
2009-03-09 17:57:38 +00:00
|
|
|
|
<img src="./img/exporticones/printer.png"" alt="Impression"/></a>
|
2009-03-06 16:26:26 +00:00
|
|
|
|
<?php
|
|
|
|
|
//Affichage des impressions seulement pour certaines pages
|
2009-03-06 17:12:26 +00:00
|
|
|
|
if ($page=='identite' ||
|
|
|
|
|
$page=='etablissements' ||
|
|
|
|
|
$page=='liens' ||
|
|
|
|
|
$page=='evenements' ||
|
|
|
|
|
$page=='dirigeants'){
|
2009-03-06 16:26:26 +00:00
|
|
|
|
?>
|
2009-03-09 17:57:38 +00:00
|
|
|
|
<a href="./exportpdf.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" alt="PDF"><img src="./img/exporticones/pdf.png" alt="PDF"></a>
|
2009-03-20 14:44:33 +00:00
|
|
|
|
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" alt="CSV"><img src="./img/exporticones/csv.png" alt="CSV"></a>
|
|
|
|
|
<a href="./exportxml.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" alt="XML"><img src="./img/exporticones/xml.png" alt="XML"></a>
|
2009-03-09 14:23:25 +00:00
|
|
|
|
<center>
|
2009-03-06 16:26:26 +00:00
|
|
|
|
<?php
|
2009-03-06 17:12:26 +00:00
|
|
|
|
}
|
2009-03-06 16:26:26 +00:00
|
|
|
|
?>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
</div>
|
|
|
|
|
</layer>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
/*
|
|
|
|
|
Floating Menu script- Roy Whittle (http://www.javascript-fx.com/)
|
|
|
|
|
Script featured on/available at http://www.dynamicdrive.com/
|
|
|
|
|
This notice must stay intact for use
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
//Enter "frombottom" or "fromtop"
|
|
|
|
|
var verticalpos="fromtop";
|
|
|
|
|
|
|
|
|
|
if (!document.layers) document.write('</div>');
|
|
|
|
|
|
|
|
|
|
function JSFX_FloatTopDiv()
|
|
|
|
|
{
|
|
|
|
|
var startX = getImagePageLeft(document.getElementById("MainPage"))-215;
|
|
|
|
|
startY = getImagePageTop(document.getElementById("MainPage"))+20;
|
|
|
|
|
var ns = (navigator.appName.indexOf("Netscape") != -1);
|
|
|
|
|
var d = document;
|
|
|
|
|
function ml(id)
|
|
|
|
|
{
|
|
|
|
|
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
|
|
|
|
|
if(d.layers)el.style=el;
|
|
|
|
|
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
|
|
|
|
|
el.x = startX;
|
|
|
|
|
if (verticalpos=="fromtop")
|
|
|
|
|
el.y = startY;
|
|
|
|
|
else{
|
|
|
|
|
el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
|
|
|
|
|
el.y -= startY;
|
|
|
|
|
}
|
|
|
|
|
return el;
|
|
|
|
|
}
|
|
|
|
|
window.stayTopLeft=function()
|
|
|
|
|
{
|
|
|
|
|
if (verticalpos=="fromtop"){
|
|
|
|
|
var pY = ns ? pageYOffset : document.body.scrollTop;
|
|
|
|
|
ftlObj.y += (pY + startY - ftlObj.y)/8;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
|
|
|
|
|
ftlObj.y += (pY - startY - ftlObj.y)/8;
|
|
|
|
|
}
|
|
|
|
|
ftlObj.sP(ftlObj.x, ftlObj.y);
|
|
|
|
|
setTimeout("stayTopLeft()", 10);
|
|
|
|
|
}
|
|
|
|
|
ftlObj = ml("divStayTopLeft");
|
|
|
|
|
stayTopLeft();
|
|
|
|
|
}
|
|
|
|
|
JSFX_FloatTopDiv();
|
2009-03-06 16:26:26 +00:00
|
|
|
|
</script>
|