var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358035&x=467',
		'title': '',
		'imageId': '69358035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358039&x=467',
		'title': '',
		'imageId': '69358039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358036&x=467',
		'title': '',
		'imageId': '69358036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358037&x=467',
		'title': '',
		'imageId': '69358037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358038&x=467',
		'title': '',
		'imageId': '69358038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358040&x=467',
		'title': '',
		'imageId': '69358040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358041&x=467',
		'title': '',
		'imageId': '69358041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358042&x=467',
		'title': '',
		'imageId': '69358042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358043&x=467',
		'title': '',
		'imageId': '69358043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358044&x=467',
		'title': '',
		'imageId': '69358044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358045&x=467',
		'title': '',
		'imageId': '69358045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358046&x=467',
		'title': '',
		'imageId': '69358046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358047&x=467',
		'title': '',
		'imageId': '69358047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358048&x=467',
		'title': '',
		'imageId': '69358048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358049&x=467',
		'title': '',
		'imageId': '69358049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984202&docid=69358050&x=467',
		'title': '',
		'imageId': '69358050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984202';

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