var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852515&x=5425',
		'title': '',
		'imageId': '71852515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852509&x=5425',
		'title': '',
		'imageId': '71852509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852514&x=5425',
		'title': '',
		'imageId': '71852514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852510&x=5425',
		'title': '',
		'imageId': '71852510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852513&x=5425',
		'title': '',
		'imageId': '71852513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852512&x=5425',
		'title': '',
		'imageId': '71852512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852506&x=5425',
		'title': '',
		'imageId': '71852506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852516&x=5425',
		'title': '',
		'imageId': '71852516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852507&x=5425',
		'title': '',
		'imageId': '71852507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852508&x=5425',
		'title': '',
		'imageId': '71852508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092335&docid=71852511&x=5425',
		'title': '',
		'imageId': '71852511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4092335';

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