var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136329&x=3516',
		'title': '',
		'imageId': '68136329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68137529&x=3516',
		'title': '',
		'imageId': '68137529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136330&x=3516',
		'title': '',
		'imageId': '68136330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136328&x=3516',
		'title': '',
		'imageId': '68136328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136332&x=3516',
		'title': '',
		'imageId': '68136332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68137544&x=3516',
		'title': '',
		'imageId': '68137544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136331&x=3516',
		'title': '',
		'imageId': '68136331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136343&x=3516',
		'title': '',
		'imageId': '68136343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136336&x=3516',
		'title': '',
		'imageId': '68136336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136334&x=3516',
		'title': '',
		'imageId': '68136334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136333&x=3516',
		'title': '',
		'imageId': '68136333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136339&x=3516',
		'title': '',
		'imageId': '68136339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136337&x=3516',
		'title': '',
		'imageId': '68136337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136335&x=3516',
		'title': '',
		'imageId': '68136335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136338&x=3516',
		'title': '',
		'imageId': '68136338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136340&x=3516',
		'title': '',
		'imageId': '68136340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136341&x=3516',
		'title': '',
		'imageId': '68136341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930139&docid=68136342&x=3516',
		'title': '',
		'imageId': '68136342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930139';

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