var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141905&x=5848',
		'title': '',
		'imageId': '70141905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141907&x=5848',
		'title': '',
		'imageId': '70141907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141908&x=5848',
		'title': '',
		'imageId': '70141908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141909&x=5848',
		'title': '',
		'imageId': '70141909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141910&x=5848',
		'title': '',
		'imageId': '70141910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141922&x=5848',
		'title': '',
		'imageId': '70141922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141924&x=5848',
		'title': '',
		'imageId': '70141924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141925&x=5848',
		'title': '',
		'imageId': '70141925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141926&x=5848',
		'title': '',
		'imageId': '70141926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141927&x=5848',
		'title': '',
		'imageId': '70141927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141928&x=5848',
		'title': '',
		'imageId': '70141928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141933&x=5848',
		'title': '',
		'imageId': '70141933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141934&x=5848',
		'title': '',
		'imageId': '70141934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141941&x=5848',
		'title': '',
		'imageId': '70141941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141943&x=5848',
		'title': '',
		'imageId': '70141943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141946&x=5848',
		'title': '',
		'imageId': '70141946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141951&x=5848',
		'title': '',
		'imageId': '70141951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141967&x=5848',
		'title': '',
		'imageId': '70141967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141975&x=5848',
		'title': '',
		'imageId': '70141975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141972&x=5848',
		'title': '',
		'imageId': '70141972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141981&x=5848',
		'title': '',
		'imageId': '70141981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141983&x=5848',
		'title': '',
		'imageId': '70141983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141985&x=5848',
		'title': '',
		'imageId': '70141985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141990&x=5848',
		'title': '',
		'imageId': '70141990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141993&x=5848',
		'title': '',
		'imageId': '70141993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141994&x=5848',
		'title': '',
		'imageId': '70141994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70142001&x=5848',
		'title': '',
		'imageId': '70142001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70142003&x=5848',
		'title': '',
		'imageId': '70142003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141952&x=5848',
		'title': '',
		'imageId': '70141952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141956&x=5848',
		'title': '',
		'imageId': '70141956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141958&x=5848',
		'title': '',
		'imageId': '70141958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141961&x=5848',
		'title': '',
		'imageId': '70141961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141966&x=5848',
		'title': '',
		'imageId': '70141966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141976&x=5848',
		'title': '',
		'imageId': '70141976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016689&docid=70141906&x=5848',
		'title': '',
		'imageId': '70141906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016689';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
