var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899752&x=5553',
		'title': '',
		'imageId': '67899752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899751&x=5553',
		'title': '',
		'imageId': '67899751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899753&x=5553',
		'title': '',
		'imageId': '67899753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899754&x=5553',
		'title': '',
		'imageId': '67899754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899755&x=5553',
		'title': '',
		'imageId': '67899755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899756&x=5553',
		'title': '',
		'imageId': '67899756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899758&x=5553',
		'title': '',
		'imageId': '67899758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899757&x=5553',
		'title': '',
		'imageId': '67899757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899759&x=5553',
		'title': '',
		'imageId': '67899759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919932&docid=67899760&x=5553',
		'title': '',
		'imageId': '67899760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919932';

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