var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931710&x=5724',
		'title': '',
		'imageId': '67931710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931706&x=5724',
		'title': '',
		'imageId': '67931706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931711&x=5724',
		'title': '',
		'imageId': '67931711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931707&x=5724',
		'title': '',
		'imageId': '67931707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931712&x=5724',
		'title': '',
		'imageId': '67931712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931708&x=5724',
		'title': '',
		'imageId': '67931708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931705&x=5724',
		'title': '',
		'imageId': '67931705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931709&x=5724',
		'title': '',
		'imageId': '67931709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931714&x=5724',
		'title': '',
		'imageId': '67931714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931715&x=5724',
		'title': '',
		'imageId': '67931715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931716&x=5724',
		'title': '',
		'imageId': '67931716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920920&docid=67931713&x=5724',
		'title': '',
		'imageId': '67931713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920920';

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