var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115950&x=643',
		'title': '',
		'imageId': '69115950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115948&x=643',
		'title': '',
		'imageId': '69115948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115952&x=643',
		'title': '',
		'imageId': '69115952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115953&x=643',
		'title': '',
		'imageId': '69115953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115957&x=643',
		'title': '',
		'imageId': '69115957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115955&x=643',
		'title': '',
		'imageId': '69115955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115958&x=643',
		'title': '',
		'imageId': '69115958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115956&x=643',
		'title': '',
		'imageId': '69115956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115951&x=643',
		'title': '',
		'imageId': '69115951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115949&x=643',
		'title': '',
		'imageId': '69115949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115954&x=643',
		'title': '',
		'imageId': '69115954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973761&docid=69115959&x=643',
		'title': '',
		'imageId': '69115959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973761';

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