var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023404&x=436',
		'title': '',
		'imageId': '71023404',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023409&x=436',
		'title': '',
		'imageId': '71023409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023414&x=436',
		'title': '',
		'imageId': '71023414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023416&x=436',
		'title': '',
		'imageId': '71023416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023423&x=436',
		'title': '',
		'imageId': '71023423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023424&x=436',
		'title': '',
		'imageId': '71023424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023425&x=436',
		'title': '',
		'imageId': '71023425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023433&x=436',
		'title': '',
		'imageId': '71023433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023434&x=436',
		'title': '',
		'imageId': '71023434',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023437&x=436',
		'title': '',
		'imageId': '71023437',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023444&x=436',
		'title': '',
		'imageId': '71023444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023422&x=436',
		'title': '',
		'imageId': '71023422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023464&x=436',
		'title': '',
		'imageId': '71023464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023467&x=436',
		'title': '',
		'imageId': '71023467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023473&x=436',
		'title': '',
		'imageId': '71023473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023474&x=436',
		'title': '',
		'imageId': '71023474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023475&x=436',
		'title': '',
		'imageId': '71023475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023476&x=436',
		'title': '',
		'imageId': '71023476',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023481&x=436',
		'title': '',
		'imageId': '71023481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051325&docid=71023401&x=436',
		'title': '',
		'imageId': '71023401',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051325';

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