var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347111&x=34',
		'title': '',
		'imageId': '69347111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347120&x=34',
		'title': '',
		'imageId': '69347120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347112&x=34',
		'title': '',
		'imageId': '69347112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347115&x=34',
		'title': '',
		'imageId': '69347115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347114&x=34',
		'title': '',
		'imageId': '69347114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347113&x=34',
		'title': '',
		'imageId': '69347113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347116&x=34',
		'title': '',
		'imageId': '69347116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347119&x=34',
		'title': '',
		'imageId': '69347119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347118&x=34',
		'title': '',
		'imageId': '69347118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983859&docid=69347117&x=34',
		'title': '',
		'imageId': '69347117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983859';

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