\n');
}
var currentElementId = '';
function OpenSub( id )
{
var el = document.getElementById( id )
if( ! el )
return;
currentElementId = id;
el.style.display = 'block';
el.onmouseout = CloseSub
}
var done = false;
function CloseSub( e )
{
var el = null;
var related = null;
if( e ){
el = e.target;
related = e.relatedTarget;
}
else if( event ){
el = event.srcElement;
related = event.toElement;
}
else {
return;
}
while( related != null && related != el ){
if( typeof related.id != 'undefined' ){
if( related.id == currentElementId )
return;
}
related = related.parentNode;
}
if( related == el )
return;
if( ! el )
return;
// el.style.display = 'none';
var item = document.getElementById( currentElementId );
if( item ){
item.style.display = 'none';
}
}
var extension = '.gif';
var extension_over = '_blue.gif';
var path = 'files/menu/';
var dynImages = null;
function PreLoad( images )
{
dynImages = new Array();
for( var i = 0; i < images.length; i ++ ){
var name = images[i];
var imgname = path + name + extension;
var imgname_over = path + name + extension_over;
var img = new Image();
var img_over = new Image();
img.src = imgname;
img_over.src = imgname_over;
dynImages[name] = { normal:img, over:img_over };
}
}
function SwapImage( el, name, isOver )
{
if( typeof dynImages[name] == 'undefined' )
return;
var img = dynImages[name];
if( isOver ){
el.src = img['over'].src;
}
else {
el.src = img['normal'].src;
}
}
function CheckMenus()
{
var elements = [ 'submenu1', 'submenu2' ];
for( var i = 0; i < elements.length; i ++ ){
var id = elements[i];
var el = document.getElementById( id )
if( ! el )
return;
var x = GetElementX( el );
var y = GetElementY( el );
var w = GetElementWidth( el );
var h = GetElementHeight( el );
if( mouse.x < x || mouse.x > x + w || mouse.y < y || mouse.y > y + h ){
el.style.display = 'none';
}
}
setTimeout( 'CheckMenus()', 1000 );
}
function Init()
{
var images = [
'service',
'quality',
'locations',
'contact',
'sub_knowledge',
'sub_differences',
'sub_representations',
'sub_supplies'
];
PreLoad( images );
setTimeout( 'CheckMenus()', 1000 );
}
function OpenPage( id )
{
var el = $('content_container');
// Element.show( 'loading' );
new Ajax.Updater(
'content_container',
'rendermods.php?id=' + id,
{
asynchronous:true,
onSuccess: function() {
// Element.hide( 'loading' );
},
onFailure: function(t) {
alert( "Could not load data " + t.statusText );
}
}
);
if( id == 6 ){
Element.hide( 'footer_container' );
el.className = 'content_container_big';
}
else {
Element.show( 'footer_container' );
el.className = 'content_container_small';
}
}
Loading
|
A well—the starting point in a yearlong process of preparation for drilling and pumping oil. The black blood of Mother Earth, oil is what makes the world go round. Without oil, every- thing would come to a standstill—literally. Maintaining a continuous flow of oil is therefore of utmost importance. This depends on many factors,
|
|
but at least one factor is very reliable—the service provided by Loosbrock. We provide a wide range of services needed for drilling and pumping oil—from components to products and from consulting services to on-the-spot solutions. We are your well of information when you need answers to your questions.
|