var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737324&x=3413',
		'title': '',
		'imageId': '62737324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737325&x=3413',
		'title': '',
		'imageId': '62737325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737326&x=3413',
		'title': '',
		'imageId': '62737326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737327&x=3413',
		'title': '',
		'imageId': '62737327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737328&x=3413',
		'title': '',
		'imageId': '62737328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737329&x=3413',
		'title': '',
		'imageId': '62737329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737330&x=3413',
		'title': '',
		'imageId': '62737330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737331&x=3413',
		'title': '',
		'imageId': '62737331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737332&x=3413',
		'title': '',
		'imageId': '62737332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737333&x=3413',
		'title': '',
		'imageId': '62737333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737334&x=3413',
		'title': '',
		'imageId': '62737334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737335&x=3413',
		'title': '',
		'imageId': '62737335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737336&x=3413',
		'title': '',
		'imageId': '62737336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737337&x=3413',
		'title': '',
		'imageId': '62737337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737338&x=3413',
		'title': '',
		'imageId': '62737338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737339&x=3413',
		'title': '',
		'imageId': '62737339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737340&x=3413',
		'title': '',
		'imageId': '62737340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737341&x=3413',
		'title': '',
		'imageId': '62737341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737342&x=3413',
		'title': '',
		'imageId': '62737342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737343&x=3413',
		'title': '',
		'imageId': '62737343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737344&x=3413',
		'title': '',
		'imageId': '62737344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737345&x=3413',
		'title': '',
		'imageId': '62737345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993547&docid=62737346&x=3413',
		'title': '',
		'imageId': '62737346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993547';

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