var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734954&x=2436',
		'title': '',
		'imageId': '69734954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734949&x=2436',
		'title': '',
		'imageId': '69734949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734940&x=2436',
		'title': '',
		'imageId': '69734940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734946&x=2436',
		'title': '',
		'imageId': '69734946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734951&x=2436',
		'title': '',
		'imageId': '69734951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734956&x=2436',
		'title': '',
		'imageId': '69734956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734950&x=2436',
		'title': '',
		'imageId': '69734950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734952&x=2436',
		'title': '',
		'imageId': '69734952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734948&x=2436',
		'title': '',
		'imageId': '69734948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734960&x=2436',
		'title': '',
		'imageId': '69734960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734941&x=2436',
		'title': '',
		'imageId': '69734941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734947&x=2436',
		'title': '',
		'imageId': '69734947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734955&x=2436',
		'title': '',
		'imageId': '69734955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734943&x=2436',
		'title': '',
		'imageId': '69734943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734961&x=2436',
		'title': '',
		'imageId': '69734961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734945&x=2436',
		'title': '',
		'imageId': '69734945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734958&x=2436',
		'title': '',
		'imageId': '69734958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734957&x=2436',
		'title': '',
		'imageId': '69734957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734953&x=2436',
		'title': '',
		'imageId': '69734953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734962&x=2436',
		'title': '',
		'imageId': '69734962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734944&x=2436',
		'title': '',
		'imageId': '69734944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=69734959&x=2436',
		'title': '',
		'imageId': '69734959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=59270515&x=2436',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000333&docid=59270516&x=2436',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000333';

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";
	})
}
